What are ticks used for in PHP?

koko77

New Member
I'd like to know why, how and when to use ticks in PHP:\[code\]declare(ticks=1);// A function called on each tick eventfunction tick_handler(){ echo "tick_handler() called\n";}register_tick_function('tick_handler');$a = 1;if ($a > 0) { $a += 2; print($a);}\[/code\]
 
Back
Top