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

From: Date: Thu, 07 Mar 2002 11:27:04 +0000
Subject: Bug #15927 Updated: Crash(?) on Syntax Error
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-1908@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: Thank you, you pointed me to the reason for my problem: In the .htaccess file I found: php_value display_errors true must be: php_flag display_errors on That means: Due to this syntactically wrong statement in the htaccess-file PHP overides the default and sets this flag to "false". I think this is not the desired behaviour, isn't it? Previous Comments: ------------------------------------------------------------------------ [2002-03-07 05:57:04] hholzgra@php.net ... and your php.ini error_reporting settings are? ------------------------------------------------------------------------ [2002-03-07 05:35:45] richter@jakota.de 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. ------------------------------------------------------------------------ [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 (#1908) next »