ID:               46844
 Updated by:       johan...@php.net
 Reported By:      phildrisc...@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] j...@php.net

I was kinda hoping it was some CLI/CGI thing only. :)



------------------------------------------------------------------------

[2008-12-16 18:41:52] phildrisc...@php.net

Yes Jani - my test setup has PHP compiled as an Apache2 module.

------------------------------------------------------------------------

[2008-12-16 18:20:41] j...@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] phildrisc...@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

Reply via email to