PHP 4.0 Bug #8023 Updated: Mystyping reset(X) cause script dies whithout diag

From: Date: Wed, 29 Nov 2000 05:44:02 +0000
Subject: PHP 4.0 Bug #8023 Updated: Mystyping reset(X) cause script dies whithout diag
Groups: php.dev 
Request: Send a blank email to php-dev+get-39447@lists.php.net to get a copy of this message
ID: 8023 Updated by: hholzgra Reported By: sp@alkor.ru Status: Closed Bug Type: Scripting Engine problem Assigned To: Comments: please check your error_reporting settings in php.ini i'm pretty sure you have something like error_reporting=7 or error_reporting=15 in there theese were valid settings in php3 but php4 has some additional error states so you should use the symbolic E_* constants instead error_reporting=E_ALL or error_reporting=E_ALL & ~E_NOTICE are the equivalents to the values 15 or 7 in php3 Previous Comments: --------------------------------------------------------------------------- [2000-11-29 00:21:25] sp@alkor.ru When you mistype reset(X) instead of reset($X) script dies [probably at parse state] without any diag/output. When you're mistyping in complex script it's hard to understand where's error. Type foo.php and see results <? reset(X); die("foo"); ?> --------------------------------------------------------------------------- Full Bug description available at: http://bugs.php.net/?id=8023

« previous php.dev (#39447) next »