php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #29363 Parse error whitch one actually not exist
Submitted: 2004-07-24 09:21 UTC Modified: 2004-07-26 17:28 UTC
From: random at japan dot com Assigned:
Status: Not a bug Package: Scripting Engine problem
PHP Version: 4.3.8 OS: Windows XP SP1+larest updetes
Private report: No CVE-ID: None
 [2004-07-24 09:21 UTC] random at japan dot com
Description:
------------
Sorry for bad English
I worked both witn ASP.NET and PHP4 and i'm sure that ASP.NET is MUCH more stable and SECURE
Primitive example of this:
This one generates a parse error whitch actually is not exist. If i just uncomment (!!!) the code, all works well.
.NET is slower, but i'm sure that in time that i pay for Debug (with general D) in PHP at just one project (pheeew), Microsoft will invent something faster ;-)





Reproduce code:
---------------
http://www.melodyland.ru/goodman/phpvsaspnet/bugs/1.txt

Actual result:
--------------
Parse error: parse error, unexpected $end in c:\inetpub\wwwroot\123.php on line 106

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-07-26 17:22 UTC] cysgwr_eryri at yahoo dot co dot uk
You have an unmatched opening curly brace '{' on line 4 when the code is commented out. There appears to be dangling closing curly brace '}' in the commented section on line 100.

PHP is giving you the error because the end is unexpected - you have left an unclosed brace. Perhaps ascertaining that your own code is flawless should come before insulting the PHP project in future.
 [2004-07-26 17:28 UTC] tony2001@php.net
Not a PHP bug.
Debug your code yourself or provide real-life short example, which we could run and test.

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Oct 17 21:01:27 2024 UTC