#36522 [Opn->Bgs]: ob_start & file_get_contents - issue
| From: | derick@php.net | Date: | Sat, 25 Feb 2006 16:16:38 +0000 |
| Subject: | #36522 [Opn->Bgs]: ob_start & file_get_contents - issue | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-93657@lists.php.net to get a copy of this message | ||
ID: 36522
Updated by: derick@php.net
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