Re: register_tick_function problems..
| From: | Andrei Zmievski | Date: | Tue, 10 Jul 2001 14:08:34 +0000 |
| Subject: | Re: register_tick_function problems.. | ||
| References: | 1 2 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-59548@lists.php.net to get a copy of this message | ||
Okay, seems to be happening when accessed through the web browser.
On Tue, 10 Jul 2001, derick@php.net wrote:
> 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
> ---------------------------------------------------------------------
>
-Andrei
"You choose to do the bad things in your life;
the good ones come and drag you along with them."
- Michael Marshall Smith