zend_ticks crash and question

From: Date: Thu, 08 Mar 2001 05:12:05 +0000
Subject: zend_ticks crash and question
Groups: php.dev 
Request: Send a blank email to php-dev+get-48210@lists.php.net to get a copy of this message
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 · · andre@php.net m: +49 173 9558736 · * PHP Quality Assurance http://qa.php.net *

« previous php.dev (#48210) next »