File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed
Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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========================================
1121165. New Functions
You can’t perform that action at this time.
0 commit comments