note 18552 deleted from control-structures.declare by jimw

From: Date: Sat, 23 Feb 2002 17:47:29 +0000
Subject: note 18552 deleted from control-structures.declare by jimw
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-26972@lists.php.net to get a copy of this message
Quite interesting but ticks doesn't seems to work inside sub code : register_tick_function ( "foo" ); declare (ticks=1) { bar(); } foo() won't be called within bar(), anyway to fix that ? I tried to create a thread simulation with register_tick_function() for use with php-gtk but when giving the hand to gtk with "gtk::main()", the registered tick function isn't called due to this problem. However, a real thread system would be very usefull in php...

« previous php.notes (#26972) next »