#46844 [NEW]: First line of included files not output if they begin with #

From: Date: Fri, 12 Dec 2008 11:51:56 +0000
Subject: #46844 [NEW]: First line of included files not output if they begin with #
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-131944@lists.php.net to get a copy of this message
From: phildriscoll@php.net Operating system: Ubuntu Gutsy PHP version: 5.3.0alpha3 PHP Bug Type: Scripting Engine problem Bug description: First line of included files not output if they begin with # 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 bug report at http://bugs.php.net/?id=46844&edit=1 -- Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=46844&r=trysnapshot52 Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=46844&r=trysnapshot53 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=46844&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=46844&r=fixedcvs Fixed in CVS and need be documented: http://bugs.php.net/fix.php?id=46844&r=needdocs Fixed in release: http://bugs.php.net/fix.php?id=46844&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=46844&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=46844&r=needscript Try newer version: http://bugs.php.net/fix.php?id=46844&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=46844&r=support Expected behavior: http://bugs.php.net/fix.php?id=46844&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=46844&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=46844&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=46844&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=46844&r=php4 Daylight Savings: http://bugs.php.net/fix.php?id=46844&r=dst IIS Stability: http://bugs.php.net/fix.php?id=46844&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=46844&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=46844&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=46844&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=46844&r=mysqlcfg

« previous php.bugs (#131944) next »