php declare

register_tick_function(some_function)

declare(ticks=2)

{

//执行语句

}

执行2个语句之后,执行register_tick_function