helly           Wed Mar 23 02:57:18 2005 EDT

  Modified files:              (Branch: PHP_5_0)
    /php-src/main       main.c 
  Log:
  - MFH 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.604.2.9&r2=1.604.2.10&ty=u
Index: php-src/main/main.c
diff -u php-src/main/main.c:1.604.2.9 php-src/main/main.c:1.604.2.10
--- php-src/main/main.c:1.604.2.9       Sat Mar 19 09:28:04 2005
+++ php-src/main/main.c Wed Mar 23 02:57:17 2005
@@ -18,7 +18,7 @@
    +----------------------------------------------------------------------+
 */
 
-/* $Id: main.c,v 1.604.2.9 2005/03/19 14:28:04 helly Exp $ */
+/* $Id: main.c,v 1.604.2.10 2005/03/23 07:57:17 helly Exp $ */
 
 /* {{{ includes
  */
@@ -660,6 +660,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

Reply via email to