virtual() includes files out of sequence
| Bug #30446 | virtual() includes files out of sequence | |||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Submitted: | 2004-10-15 12:25 UTC | Modified: | 2005-01-11 15:11 UTC |
|
||||||||||
| From: | per at computer dot org | Assigned: | jorton (profile) | |||||||||||
| Status: | Closed | Package: | Apache2 related | |||||||||||
| PHP Version: | 4CVS, 5CVS (?) | OS: | linux 2.4.26 | |||||||||||
| Private report: | No | CVE-ID: | None | |||||||||||
[2004-10-15 12:25 UTC] per at computer dot org
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>
Patches
Pull Requests
History
AllCommentsChangesGit/SVN commits
[2005-01-11 15:11 UTC] jorton@php.net