helly Tue Aug 16 14:11:35 2005 EDT
Modified files: (Branch: PHP_5_0)
/php-src/main main.c
Log:
- MFH: Prevent E_STRICT from ending up as exception
http://cvs.php.net/diff.php/php-src/main/main.c?r1=1.604.2.21&r2=1.604.2.22&ty=u
Index: php-src/main/main.c
diff -u php-src/main/main.c:1.604.2.21 php-src/main/main.c:1.604.2.22
--- php-src/main/main.c:1.604.2.21 Sat Jul 16 08:14:44 2005
+++ php-src/main/main.c Tue Aug 16 14:11:34 2005
@@ -18,7 +18,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: main.c,v 1.604.2.21 2005/07/16 12:14:44 hyanantha Exp $ */
+/* $Id: main.c,v 1.604.2.22 2005/08/16 18:11:34 helly Exp $ */
/* {{{ includes
*/
@@ -653,6 +653,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