随笔 - 124  文章 - 3  评论 - 5  阅读 - 18万
03 2014 档案
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) 推荐(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) 推荐(0) 编辑

< 2025年2月 >
26 27 28 29 30 31 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 1
2 3 4 5 6 7 8

点击右上角即可分享
微信分享提示