|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[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 PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Dec 04 11:00:01 2025 UTC |
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.