ID: 25152 Updated by: [EMAIL PROTECTED] Reported By: msarsale at buenosaires dot gov dot ar -Status: Open +Status: Bogus Bug Type: Output Control Operating System: linux PHP Version: 4.3.2 New Comment:
Thank you for taking the time to write to us, but this is not a bug. Please double-check the documentation available at http://www.php.net/manual/ and the instructions on how to report a bug at http://bugs.php.net/how-to-report.php This is because the virtual() function is essentialy an Apache server side include and as such it does not go through PHP but rather via Apache directly. Consequently PHP cannot buffer this function's output. Previous Comments: ------------------------------------------------------------------------ [2003-08-19 12:33:09] msarsale at buenosaires dot gov dot ar 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 this bug report at http://bugs.php.net/?id=25152&edit=1
