#25152 [NEW]: output buffering functions don't catch "virtual" output

From: Date: Tue, 19 Aug 2003 17:33:09 +0000
Subject: #25152 [NEW]: output buffering functions don't catch "virtual" output
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-46240@lists.php.net to get a copy of this message
From: msarsale at buenosaires dot gov dot ar Operating system: linux PHP version: 4.3.2 PHP Bug Type: Output Control Bug description: output buffering functions don't catch "virtual" output Description: ------------ Output buffering function don't catch the output of a 'virtual' call. For example, the following code produces 'ba' (where coso.html contains 'b') <? ob_start(); virtual("/coso.html"); $c=ob_get_contents(); ob_end_clean(); print "a"; print $c; ?> Expected result: ---------------- Virtual output should be catched by the ob functions. The above code should print 'ab' instead of 'ba' Actual result: -------------- The above code prints the virtual output before the ob_end_clean() call -- Edit bug report at http://bugs.php.net/?id=25152&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=25152&r=trysnapshot4 Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=25152&r=trysnapshot5 Fixed in CVS: http://bugs.php.net/fix.php?id=25152&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=25152&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=25152&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=25152&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=25152&r=support Expected behavior: http://bugs.php.net/fix.php?id=25152&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=25152&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=25152&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=25152&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=25152&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=25152&r=dst IIS Stability: http://bugs.php.net/fix.php?id=25152&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=25152&r=gnused

« previous php.bugs (#46240) next »