a)
This code crashes with current releases on phpapache+win32 (not cgi),
linux untested...
<?php
function test($foo) {}
register_tick_function('test',$foo);
declare(ticks=3)
{ ;; }
?>
b)
I think I am still getting something wrong... ticks are _not_ for
simulating "background processing" (once said on the list), because
nothing gets forked there and there is no concurrency at no point
(unfortunately!), they are simply a way to implement callbacks with ease...
am I right? everything will be called step by step eg. 4 statements,
then 1 callback, 3 statements, 1 callback and so on...
A pity, the whole time I thought it would help me to recycle the lost
time in external (eg. db) queries and connects and so on...
andré
--
· André Langhorst t: +49 331 5811560 ·
· [EMAIL PROTECTED] m: +49 173 9558736 ·
* PHP Quality Assurance http://qa.php.net *
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]