PHP 手冊
前一頁 |  | 下一頁

# restore_error_handler

(PHP 4 >= 4.0.1, PHP 5)

restore_error_handler -- Restores the previous error handler function

## Description

bool restore_error_handler ( void )

Used after changing the error handler function using set_error_handler(), to revert to the previous error handler (which could be the built-in or a user defined function). This function always returns `TRUE`.

See also error_reporting(), set_error_handler(), restore_exception_handler(), trigger_error().

前一頁 | 內容 | 下一頁
error_reporting | 上一層 | restore_exception_handler