Bug #15927 Updated: Crash(?) on Syntax Error

From: Date: Thu, 07 Mar 2002 10:35:46 +0000
Subject: Bug #15927 Updated: Crash(?) on Syntax Error
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-1902@lists.php.net to get a copy of this message
ID: 15927 Updated by: richter@jakota.de Reported By: richter@jakota.de Status: Bogus Bug Type: Scripting Engine problem Operating System: Linux 2.4.17/RH 7.2 PHP Version: 4.0.6 New Comment: Okay, perhaps I should stressen that there is no error mesage whatsoever. In my case, it took me several hours to find this little one. It's very annoying that PHP doesn't issue a syntax error message. Previous Comments: ------------------------------------------------------------------------ [2002-03-07 05:25:05] mfischer@php.net This just gives a parser error for me (tested with 4.0.6 and current cvs). ------------------------------------------------------------------------ [2002-03-07 05:24:51] derick@php.net If there is a parse error, the script doesn't execute. Not a bug > bogus ------------------------------------------------------------------------ [2002-03-07 05:21:42] richter@jakota.de <?php echo('X'); error_log('X', 0); $daten_verlag[$rubrik['id']]] = $daten_rubrik; ?> One bracket too much! This makes PHP issue just 5 Bytes to the browser, regardless of any code following or preceeding this line. I think it doesn't even execute the code because there doesn't appear anything in the logs, too. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=15927&edit=1

« previous php.bugs (#1902) next »