]> granicus.if.org Git - php/commitdiff
Add NEWS/UPGRADING for previous change
authorNikita Popov <nikic@php.net>
Sat, 22 Sep 2012 19:54:59 +0000 (21:54 +0200)
committerNikita Popov <nikic@php.net>
Sat, 22 Sep 2012 19:54:59 +0000 (21:54 +0200)
NEWS
UPGRADING

diff --git a/NEWS b/NEWS
index d54cc1c18ea4d20508ee539e91432d9c6e8a20eb..00a2dd67ead3d11a20e5ea67bef8aa26ed674027 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -26,6 +26,8 @@ PHP                                                                        NEWS
     (srgoogleguy, Gustavo)
   . Implemented FR #60738 (Allow 'set_error_handler' to handle NULL).
     (Laruence, Nikita Popov)
+  . Return previous handler when passing NULL to set_error_handler and
+    set_exception_handler. (Nikita Popov)
   . Added optional second argument for assert() to specify custom message. Patch
     by Lonny Kapelushnik (lonny@lonnylot.com). (Lars)
 
index 59dfbb436acd246f4ed41be15e4849ff556ccb77..bc5773cfa89f8ce7edc11a8a8311c6d9a37f1652 100755 (executable)
--- a/UPGRADING
+++ b/UPGRADING
@@ -107,6 +107,10 @@ PHP X.Y UPGRADE NOTES
   but that predated the existence of E_DEPRECATED.
 - php_logo_guid(), php_egg_logo_guid(), php_real_logo_guid() and 
   zend_logo_guid() have been removed
+- set_error_handler(NULL) can now be used to reset the error handler.
+  Furthermore both set_error_handler(NULL) and set_exception_handler(NULL) will
+  now return the previously defined error/exception handler. Previously
+  bool(true) was returned.
 
 ========================================
 5. New Functions