helly Wed Mar 23 02:54:23 2005 EDT
Modified files:
/php-src/main main.c
Log:
- Notices shouldn't be treatedas errors and thus not being conidered to be
converted to exceptions.
http://cvs.php.net/diff.php/php-src/main/main.c?r1=1.620&r2=1.621&ty=u
Index: php-src/main/main.c
diff -u php-src/main/main.c:1.620 php-src/main/main.c:1.621
--- php-src/main/main.c:1.620 Sat Mar 19 09:27:17 2005
+++ php-src/main/main.c Wed Mar 23 02:54:22 2005
@@ -18,7 +18,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: main.c,v 1.620 2005/03/19 14:27:17 helly Exp $ */
+/* $Id: main.c,v 1.621 2005/03/23 07:54:22 helly Exp $ */
/* {{{ includes
*/
@@ -657,6 +657,10 @@
case E_PARSE:
/* fatal errors are real errors and cannot be
made exceptions */
break;
+ case E_NOTICE:
+ case E_USER_NOTICE:
+ /* notices are no errors and are not treated as
such like E_WARNIGNS */
+ break;
default:
/* throw an exception if we are in EH_THROW mode
* but DO NOT overwrite a pending excepption
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php