#35382 [NEW]: Comment in end of file produces fatal error

From: Date: Fri, 25 Nov 2005 07:02:49 +0000
Subject: #35382 [NEW]: Comment in end of file produces fatal error
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-88903@lists.php.net to get a copy of this message
From:             stochnagara at hotmail dot com
Operating system: windows xp
PHP version:      5.1.0
PHP Bug Type:     Scripting Engine problem
Bug description:  Comment in end of file produces  fatal error

Description:
------------
This is a recent bug since it used to work with most of the 5.1 release
candidates. See the sample. The line with the comment is the last line of
the php code

Reproduce code:
---------------
<?
echo 'hello';
//last line comment

Expected result:
----------------
hello

Actual result:
--------------
Fatal error: fatal flex scanner internal error--end of buffer missed in
.....\php-bug35382.php on line 3


-- 
Edit bug report at http://bugs.php.net/?id=35382&edit=1
-- 
Try a CVS snapshot (php4):   http://bugs.php.net/fix.php?id=35382&r=trysnapshot4
Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=35382&r=trysnapshot50
Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=35382&r=trysnapshot51
Fixed in CVS:                http://bugs.php.net/fix.php?id=35382&r=fixedcvs
Fixed in release:            http://bugs.php.net/fix.php?id=35382&r=alreadyfixed
Need backtrace:              http://bugs.php.net/fix.php?id=35382&r=needtrace
Need Reproduce Script:       http://bugs.php.net/fix.php?id=35382&r=needscript
Try newer version:           http://bugs.php.net/fix.php?id=35382&r=oldversion
Not developer issue:         http://bugs.php.net/fix.php?id=35382&r=support
Expected behavior:           http://bugs.php.net/fix.php?id=35382&r=notwrong
Not enough info:             http://bugs.php.net/fix.php?id=35382&r=notenoughinfo
Submitted twice:             http://bugs.php.net/fix.php?id=35382&r=submittedtwice
register_globals:            http://bugs.php.net/fix.php?id=35382&r=globals
PHP 3 support discontinued:  http://bugs.php.net/fix.php?id=35382&r=php3
Daylight Savings:            http://bugs.php.net/fix.php?id=35382&r=dst
IIS Stability:               http://bugs.php.net/fix.php?id=35382&r=isapi
Install GNU Sed:             http://bugs.php.net/fix.php?id=35382&r=gnused
Floating point limitations:  http://bugs.php.net/fix.php?id=35382&r=float
No Zend Extensions:          http://bugs.php.net/fix.php?id=35382&r=nozend
MySQL Configuration Error:   http://bugs.php.net/fix.php?id=35382&r=mysqlcfg


Thread (8 messages)

« previous php.bugs (#88903) next »