This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
function append_error_handler($handler) { | |
set_error_handlers(array(set_error_handler($handler), $handler)); | |
} | |
function prepend_error_handler($handler) { | |
set_error_handlers(array($handler, set_error_handler($handler))); | |
} |