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

Reply via email to