Re: register_tick_function problems..
| From: | derick@php.net | Date: | Tue, 10 Jul 2001 13:24:09 +0000 |
| Subject: | Re: register_tick_function problems.. | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-59541@lists.php.net to get a copy of this message | ||
On Tue, 10 Jul 2001, Andrei Zmievski wrote:
> On Tue, 10 Jul 2001, Joao Prado Maia wrote:
> >
> > http://www.php.net/bugs.php?id=11536
>
> I couldn't find what example the bug was referring to.
This one:
<?php
function tick()
{
static $i;
printf("[tick i=%d]\n", ++$i);
}
register_tick_function("tick");
declare (ticks = 2) {
1; 2; 3;
}
?>
regards,
Derick Rethans
---------------------------------------------------------------------
PHP: Scripting the Web - www.php.net - derick@php.net
SRM: Site Resource Manager - www.vl-srm.net
---------------------------------------------------------------------