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

From: Date: Thu, 07 Mar 2002 11:49:03 +0000
Subject: Bug #15927 Updated: Crash(?) on Syntax Error
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-1910@lists.php.net to get a copy of this message
ID: 15927 Updated by: hholzgra@php.net 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: "php_value display_errors true" is perfectly valid, just that (string)"true" is converted to (int)"true" which is zero Previous Comments: ------------------------------------------------------------------------ [2002-03-07 06:27:03] richter@jakota.de 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? ------------------------------------------------------------------------ [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 ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/15927 -- Edit this bug report at http://bugs.php.net/?id=15927&edit=1

« previous php.bugs (#1910) next »