#35382 [Com]: Comment in end of file produces fatal error
ID: 35382
Comment by: gumatu at web dot de
Reported By: stochnagara at hotmail dot com
Status: Feedback
Bug Type: Scripting Engine problem
Operating System: windows xp
PHP Version: 5.1.0
New Comment:
I stumbled over this bug too.
WinXP with IIS and PHP 5.1.0
Previous Comments:
------------------------------------------------------------------------
[2005-11-25 11:09:36] tony2001@php.net
Works fine here.
Any chance you can try it on non-Win32 OS too ?
------------------------------------------------------------------------
[2005-11-25 08:02:49] stochnagara at hotmail dot com
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 this bug report at http://bugs.php.net/?id=35382&edit=1
Thread (8 messages)