#46844 [Ver->Ctl]: First line of included files not output if they begin with #
| From: | johannes@php.net | Date: | Mon, 29 Dec 2008 12:52:01 +0000 |
| Subject: | #46844 [Ver->Ctl]: First line of included files not output if they begin with # | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-132381@lists.php.net to get a copy of this message | ||
ID: 46844
Updated by: johannes@php.net
Reported By: phildriscoll@php.net
-Status: Verified
+Status: Critical
Bug Type: Scripting Engine problem
Operating System: Ubuntu Gutsy
PHP Version: 5.3.0alpha3
New Comment:
That should be fixed for 5.3.
Previous Comments:
------------------------------------------------------------------------
[2008-12-17 02:45:55] jani@php.net
I was kinda hoping it was some CLI/CGI thing only. :)
------------------------------------------------------------------------
[2008-12-16 18:41:52] phildriscoll@php.net
Yes Jani - my test setup has PHP compiled as an Apache2 module.
------------------------------------------------------------------------
[2008-12-16 18:20:41] jani@php.net
I can reproduce this with CLI and CGI, but does it happen also with
f.e. Apache SAPIs?
------------------------------------------------------------------------
[2008-12-12 11:51:56] phildriscoll@php.net
Description:
------------
5.3.0alpha3 does not output the first line of an included script if
the line begins with #. Earlier versions of PHP
(prior to 5.3.0alpha1) do output first lines beginning with #.
Reproduce code:
---------------
test.php
<?php
include_once('test.inc');
?>
test.inc
#1
#2
#3
Expected result:
----------------
#1
#2
#3
Actual result:
--------------
#2
#3
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=46844&edit=1