#29363 [Opn->Bgs]: Parse error whitch one actually not exist

From: Date: Mon, 26 Jul 2004 15:28:46 +0000
Subject: #29363 [Opn->Bgs]: Parse error whitch one actually not exist
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-63568@lists.php.net to get a copy of this message
ID: 29363 Updated by: tony2001@php.net Reported By: random at japan dot com -Status: Open +Status: Bogus Bug Type: Scripting Engine problem Operating System: Windows XP SP1+larest updetes PHP Version: 4.3.8 New Comment: Not a PHP bug. Debug your code yourself or provide real-life short example, which we could run and test. Previous Comments: ------------------------------------------------------------------------ [2004-07-26 17:22:36] 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-24 09:21:54] 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 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=29363&edit=1

« previous php.bugs (#63568) next »