cvs: php-src /main main.c

From: Date: Tue, 16 Aug 2005 18:09:28 +0000
Subject: cvs: php-src /main main.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-33459@lists.php.net to get a copy of this message
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 */

« previous php.cvs (#33459) next »