Iam a little bit confused by php function declare.
What exactly is an single tick, i thought 1 tick = one line of code? But if i use:
function myfunc() {
print "Tick";
}
register_tick_function("myfunc");
declare(ticks=1) {
echo 'foo!bar';
}
The script prints :
"Tick" 2 Times??