php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #35382 Comment in end of file produces fatal error
Submitted: 2005-11-25 08:02 UTC Modified: 2005-11-27 07:48 UTC
Votes:1
Avg. Score:4.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: stochnagara at hotmail dot com Assigned: iliaa (profile)
Status: Closed Package: Scripting Engine problem
PHP Version: 5.1.0 OS: *
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: stochnagara at hotmail dot com
New email:
PHP Version: OS:

 

 [2005-11-25 08:02 UTC] 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


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-11-25 11:09 UTC] tony2001@php.net
Works fine here.
Any chance you can try it on non-Win32 OS too ?
 [2005-11-25 15:11 UTC] gumatu at web dot de
I stumbled over this bug too.
WinXP with IIS and PHP 5.1.0
 [2005-11-26 14:15 UTC] tony2001@php.net
This bug has been fixed in CVS.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
 
Thank you for the report, and for helping us make PHP better.


 [2005-11-26 17:31 UTC] helly@php.net
Not completeley fixed
 [2005-11-27 07:48 UTC] iliaa@php.net
This bug has been fixed in CVS.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
 
Thank you for the report, and for helping us make PHP better.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 25 07:01:31 2024 UTC