#46844 [Opn->Ver]: First line of included files not output if they begin with #
| From: | jani@php.net | Date: | Wed, 17 Dec 2008 02:45:55 +0000 |
| Subject: | #46844 [Opn->Ver]: 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-132072@lists.php.net to get a copy of this message | ||
ID: 46844
Updated by: jani@php.net
Reported By: phildriscoll@php.net
-Status: Open
+Status: Verified
Bug Type: Scripting Engine problem
Operating System: Ubuntu Gutsy
PHP Version: 5.3.0alpha3
New Comment:
I was kinda hoping it was some CLI/CGI thing only. :)
Previous Comments:
------------------------------------------------------------------------
[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