function debug_php($status = 0) { switch ($status) { case 0: error_reporting($status); break; case 1: error_reporting(E_ALL | E_STRICT); ini_set("display", $status); break; default: debug_php(0); break; } }
/** * platform_launch_debug: used to load the system debugger * @param string $status The path to list * * @return void */ function platform_launch_debug($status = 0) { platform_launch_php('debug'); debug_php($status); }
/** * platform_launch_debug: used to load the system debugger * @param string $status The path to list * * @return void */ function launch_debug($status = 0) { $this->launch_php('debug'); debug_php($status); }