Exemple #1
0
 /**
  * Application specific shutdown handling
  */
 function devdebugShutdownHandler(&$arg = null, $callback = null)
 {
     return DevDebug\Debugger::shutdown(true, $callback);
 }
Exemple #2
0
            break;
        case 'te_error':
            define('_DEVDEBUG_DEBUGGER_CLASS', 'DevDebug\\TemplateEngineDebugger');
            // empty by default
            require_once __DIR__ . "/../src/aliases.php";
            trigger_error('A test warning sent with "trigger_error" with DevDebug\\TemplateEngineDebugger', E_USER_WARNING);
            @fopen();
            // error not written
            new AZERT();
            // error
            break;
        default:
            break;
    }
}
DevDebug\Debugger::shutdown(true);
?>
<!DOCTYPE html>
<!--[if lt IE 7]>      <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]>         <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]>         <html class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js"> <!--<![endif]-->
<head>
    <meta charset="utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
    <title>Test & documentation of PHP "DevDebug" package</title>
    <meta name="description" content="" />
    <meta name="viewport" content="width=device-width" />
    <link rel="stylesheet" href="assets/html5boilerplate/css/normalize.css" />
    <link rel="stylesheet" href="assets/html5boilerplate/css/main.css" />
    <script src="assets/html5boilerplate/js/vendor/modernizr-2.6.2.min.js"></script>