#46844 [Fbk->Opn]: First line of included files not output if they begin with #
| From: | phildriscoll@php.net | Date: | Tue, 16 Dec 2008 18:41:52 +0000 |
| Subject: | #46844 [Fbk->Opn]: 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-132055@lists.php.net to get a copy of this message | ||
ID: 46844
User updated by: phildriscoll@php.net
Reported By: phildriscoll@php.net
-Status: Feedback
+Status: Open
Bug Type: Scripting Engine problem
Operating System: Ubuntu Gutsy
PHP Version: 5.3.0alpha3
New Comment:
Yes Jani - my test setup has PHP compiled as an Apache2 module.
Previous Comments:
------------------------------------------------------------------------
[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