【发布时间】:2010-09-07 06:33:41
【问题描述】:
我想知道为什么、如何以及何时在 PHP 中使用记号:
declare(ticks=1);
// A function called on each tick event
function tick_handler()
{
echo "tick_handler() called\n";
}
register_tick_function('tick_handler');
$a = 1;
if ($a > 0) {
$a += 2;
print($a);
}
【问题讨论】:
-
In PHP, what is a Tick? 的可能重复项
标签: php