|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2003-08-19 17:42 UTC] iliaa@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Tue Dec 23 16:00:01 2025 UTC |
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