Mantis - Quercus
Viewing Issue Advanced Details
1242 minor always 07-10-06 17:11 07-12-06 13:45
koreth  
ferg  
normal  
closed 3.0.20  
fixed  
none    
none 3.0.20  
0001242: fopen() return value can't be passed into set_file_buffer()
PHP:

<?php
$fp = fopen("/tmp/foo", "w");
set_file_buffer($fp, 0);
?>

Under Quercus, I get a warning:

.../test.php:3: Warning: 'FileOutput[/tmp/foo]' of type `JavaValue' is an unexpected argument, expected StreamResource [set_file_buffer]

Notes
(0001386)
ferg   
07-12-06 13:45   
php/163c