helly           Tue Aug 16 14:09:28 2005 EDT

  Modified files:              
    /php-src/main       main.c 
  Log:
  - Prevent E_STRICT from ending up as exception
  
http://cvs.php.net/diff.php/php-src/main/main.c?r1=1.643&r2=1.644&ty=u
Index: php-src/main/main.c
diff -u php-src/main/main.c:1.643 php-src/main/main.c:1.644
--- php-src/main/main.c:1.643   Mon Aug 15 18:31:59 2005
+++ php-src/main/main.c Tue Aug 16 14:09:27 2005
@@ -18,7 +18,7 @@
    +----------------------------------------------------------------------+
 */
 
-/* $Id: main.c,v 1.643 2005/08/15 22:31:59 sniper Exp $ */
+/* $Id: main.c,v 1.644 2005/08/16 18:09:27 helly Exp $ */
 
 /* {{{ includes
  */
@@ -774,6 +774,9 @@
                        case E_PARSE:
                                /* fatal errors are real errors and cannot be 
made exceptions */
                                break;
+                       case E_STRICT:
+                               /* for the sake of BC to old damaged code */
+                               break;
                        case E_NOTICE:
                        case E_USER_NOTICE:
                                /* notices are no errors and are not treated as 
such like E_WARNINGS */

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to