get_exception_handlerGets the user-defined exception handler function 説明
callablenull get_exception_handler()
Returns the current exception handler function, if any. パラメータこの関数にはパラメータはありません。 戻り値
Returns the currently defined exception handler.
If no handler is defined, The returned handler is the exact callable value that was passed to set_exception_handler to define it. 例
例1 get_exception_handler example
注意ヒント
Prior to PHP 8.5.0, this functionality can be provided by the following polyfill:
|