ID: 36522
Updated by: [EMAIL PROTECTED]
Reported By: lunter at interia dot pl
-Status: Open
+Status: Bogus
Bug Type: Unknown/Other Function
Operating System: winXP
PHP Version: 5.1.2
New Comment:
Same issue as bug #36521 (yes I know that that is a different
function).
Previous Comments:
------------------------------------------------------------------------
[2006-02-25 01:18:30] lunter at interia dot pl
Description:
------------
file_get_contents does't work in callback funcion
Reproduce code:
---------------
<?
function add($i){
$i.=file_get_contents('add.txt');
return($i);
}
ob_start('add');
?>
Page contents
Expected result:
----------------
add to output buffer data from file
Actual result:
--------------
data not added !
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=36522&edit=1