Skip to content

Commit 5de79f9

Browse files
committed
Add NEWS/UPGRADING for previous change
1 parent 5c7dd78 commit 5de79f9

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

NEWS

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ PHP NEWS
2626
(srgoogleguy, Gustavo)
2727
. Implemented FR #60738 (Allow 'set_error_handler' to handle NULL).
2828
(Laruence, Nikita Popov)
29+
. Return previous handler when passing NULL to set_error_handler and
30+
set_exception_handler. (Nikita Popov)
2931
. Added optional second argument for assert() to specify custom message. Patch
3032
by Lonny Kapelushnik (lonny@lonnylot.com). (Lars)
3133

UPGRADING

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,10 @@ PHP X.Y UPGRADE NOTES
107107
but that predated the existence of E_DEPRECATED.
108108
- php_logo_guid(), php_egg_logo_guid(), php_real_logo_guid() and
109109
zend_logo_guid() have been removed
110+
- set_error_handler(NULL) can now be used to reset the error handler.
111+
Furthermore both set_error_handler(NULL) and set_exception_handler(NULL) will
112+
now return the previously defined error/exception handler. Previously
113+
bool(true) was returned.
110114

111115
========================================
112116
5. New Functions

0 commit comments

Comments
 (0)