helly Thu May 11 07:56:36 2006 UTC
Modified files: (Branch: PHP_5_2)
/php-src/main main.c
Log:
- MFH Fix error mode handling
http://cvs.php.net/viewcvs.cgi/php-src/main/main.c?r1=1.640.2.23.2.1&r2=1.640.2.23.2.2&diff_format=u
Index: php-src/main/main.c
diff -u php-src/main/main.c:1.640.2.23.2.1 php-src/main/main.c:1.640.2.23.2.2
--- php-src/main/main.c:1.640.2.23.2.1 Wed May 10 14:04:18 2006
+++ php-src/main/main.c Thu May 11 07:56:36 2006
@@ -18,7 +18,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: main.c,v 1.640.2.23.2.1 2006/05/10 14:04:18 tony2001 Exp $ */
+/* $Id: main.c,v 1.640.2.23.2.2 2006/05/11 07:56:36 helly Exp $ */
/* {{{ includes
*/
@@ -689,8 +689,10 @@
/* according to error handling mode, suppress error, throw exception or
show it */
if (PG(error_handling) != EH_NORMAL) {
switch (type) {
+ case E_ERROR:
case E_CORE_ERROR:
case E_COMPILE_ERROR:
+ case E_USER_ERROR:
case E_PARSE:
/* fatal errors are real errors and cannot be
made exceptions */
break;
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php