public function register() { set_error_handler(array($this, 'handleError'), E_ALL | E_STRICT); set_exception_handler(array($this, 'handleException')); fatal_error_handler(array($this, 'handleFatalError')); $this->reservedMemory = str_repeat(' ', 1024 * 20); }
function unlink_tmp_file($file) { @unlink($file); fatal_error_handler(); }