Edit report at http://bugs.php.net/bug.php?id=36522&edit=1
ID: 36522 Comment by: afshin dot meh at gmail dot com Reported by: lunter at interia dot pl Summary: ob_start & file_get_contents - issue Status: Bogus Type: Bug Package: Unknown/Other Function Operating System: winXP PHP Version: 5.1.2 New Comment: Also i have this problem... Is there any patch for this bug? Previous Comments: ------------------------------------------------------------------------ [2006-02-25 17:16:37] [email protected] Same issue as bug #36521 (yes I know that that is a different function). ------------------------------------------------------------------------ [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/bug.php?id=36522&edit=1
