set_exception_handler

(PHP 5)

set_exception_handler --  Sets a user-defined exception handler function

Description

string set_exception_handler ( callback exception_handler)

Returns the previously defined exception handler, or FALSE on error.

切記!

此函數目前沒有參考文件;只有引數列表。

See also restore_exception_handler(), restore_error_handler(), and error_reporting().