timer_start

函式
timer_start ( No parameters )
Access
Private
返回值
  • (bool) Always returns true.
相關
  • timer_stop()
定義位置
相關方法
timer_stoptimer_floatstr_starts_withget_media_statesget_image_tag
引入
0.71
棄用
-

timer_start: 此函式啟動一個計時器,可用於測量某項任務的耗費時間。

啟動WordPress的微型計時器。

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
function timer_start() {
global $timestart;
$timestart = microtime( true );
return true;
}
function timer_start() { global $timestart; $timestart = microtime( true ); return true; }
function timer_start() {
	global $timestart;
	$timestart = microtime( true );
	return true;
}

常見問題

FAQs
檢視更多 >