From: per at computer dot org
Operating system: linux 2.4.26
PHP version: 4.3.9
PHP Bug Type: Unknown/Other Function
Bug description: virtual() includes files out of sequence
Description:
------------
virtual() seems to put included code/text in the wrong place. I'm
guessing this is possibly related to bug#30445.
Reproduce code:
---------------
<html>
<head><title></title></head
<body>
<p>Line0</p1>
<?php
virtual("i1");
?>
<p>Line2</p>
</body>
----
i1.html:
<p>Line1</p>
Expected result:
----------------
<html>
<head><title></title></head
><body>
<p>Line0</p>
<p>Line1</p>
<p>Line2</p>
</body>
Actual result:
--------------
<p>Line1</p>
<html>
<head><title></title></head
><body>
<p>Line0</p>
<p>Line2</p>
</body>
--
Edit bug report at http://bugs.php.net/?id=30446&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=30446&r=trysnapshot4
Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=30446&r=trysnapshot50
Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=30446&r=trysnapshot51
Fixed in CVS: http://bugs.php.net/fix.php?id=30446&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=30446&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=30446&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=30446&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=30446&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=30446&r=support
Expected behavior: http://bugs.php.net/fix.php?id=30446&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=30446&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=30446&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=30446&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=30446&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=30446&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=30446&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=30446&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=30446&r=float
MySQL Configuration Error: http://bugs.php.net/fix.php?id=30446&r=mysqlcfg