php ticks 调试应用
摘要:declare(ticks=1);register_tick_function('do_profile');register_shutdown_function('show_profile');$profile = array();$last_time = microtime(true);a();function do_profile() {global $profile, $last_time;$bt = debug_backtrace();if (count($bt) 0,'calls' => 0);}$profile[$functio
阅读全文
posted @
2014-03-14 14:47
思静
阅读(272)
推荐(0) 编辑
批处理,生成当前时间
摘要:@echo %date%@Set Year=%date:~0,4%@Set Month=%date:~5,2%@Set Day=%date:~8,2%@Set CurrentDate=%Year%-%Month%-%Day%@echo %CurrentDate%pause
阅读全文
posted @
2014-03-12 02:29
思静
阅读(348)
推荐(0) 编辑