cvs: ZendEngine2(PHP_5_1) / zend.c php-src NEWS

From: Date: Mon, 27 Mar 2006 22:07:38 +0000
Subject: cvs: ZendEngine2(PHP_5_1) / zend.c php-src NEWS
Groups: php.zend-engine.cvs 
Request: Send a blank email to php-zend-engine-cvs+get-4779@lists.php.net to get a copy of this message
tony2001 Mon Mar 27 22:07:38 2006 UTC Modified files: (Branch: PHP_5_1) /php-src NEWS /ZendEngine2 zend.c Log: fix #36878 (error messages are printed even though an exception has been thrown) http://cvs.php.net/viewcvs.cgi/php-src/NEWS?r1=1.2027.2.483&r2=1.2027.2.484&diff_format=u Index: php-src/NEWS diff -u php-src/NEWS:1.2027.2.483 php-src/NEWS:1.2027.2.484 --- php-src/NEWS:1.2027.2.483 Mon Mar 27 08:26:10 2006 +++ php-src/NEWS Mon Mar 27 22:07:37 2006 @@ -11,6 +11,8 @@ - Removed the E_STRICT deprecation notice from "var". (Ilia) - Fixed debug_zval_dump() to support private and protected members. (Dmitry) - Fixed SoapFault::getMessage(). (Dmitry) +- Fixed bug #36878 (error messages are printed even though an exception has + been thrown). (Tony) - Fixed bug #36869 (memory leak in output buffering when using chunked output). (Tony) - Fixed bug #36859 (DOMElement crashes when calling __construct when http://cvs.php.net/viewcvs.cgi/ZendEngine2/zend.c?r1=1.308.2.10&r2=1.308.2.11&diff_format=u Index: ZendEngine2/zend.c diff -u ZendEngine2/zend.c:1.308.2.10 ZendEngine2/zend.c:1.308.2.11 --- ZendEngine2/zend.c:1.308.2.10 Fri Mar 17 08:34:16 2006 +++ ZendEngine2/zend.c Mon Mar 27 22:07:38 2006 @@ -17,7 +17,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: zend.c,v 1.308.2.10 2006/03/17 08:34:16 dmitry Exp $ */ +/* $Id: zend.c,v 1.308.2.11 2006/03/27 22:07:38 tony2001 Exp $ */ #include "zend.h" #include "zend_extensions.h" @@ -1025,7 +1025,7 @@ } zval_ptr_dtor(&retval); } - } else { + } else if (!EG(exception)) { /* The user error handler failed, use built-in error handler */ zend_error_cb(type, error_filename, error_lineno, format, args); }

« previous php.zend-engine.cvs (#4779) next »