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