Fine :)

But please someone take a look into this, as I can also reproduce this
problem on Linux / Apache / PHP 4.0.5 and it might be an easy fix
(clueless though). Sinec we are talking about this, did anyone else ever
tried using ticks on Apache under Windows 2000 ?

I get a rather nasty "Program Error" or whatever the little message is
when I run the same script in there. The sample script that I'm trying to
use goes below:

<?php
// A function that records the time when it is called
function metasearch()
{
    echo "Time now: " . microtime() . "<br>";
}

// Set up a tick handler
register_tick_function("metasearch");

declare(ticks=1) {
    1;1;1;1;1;
}
?>

When this error on Windows occurs, nothing shows up on the error_log, so
I still don't know what is going on. Any suggestions are very welcome.

Cheers,
Joao


On 10 Jul 2001 [EMAIL PROTECTED] wrote:

> ID: 11536
> Updated by: derick
> Reported By: [EMAIL PROTECTED]
> Old Status: Analyzed
> Status: Open
> Bug Type: Scripting Engine problem
> Operating System: linux + apache
> PHP Version: 4.0.5 - 4.0.7
> New Comment:
>
> It's not anaylysed, I could only reproduce it.
>
> Derick
>
> Previous Comments:
> ------------------------------------------------------------------------
>
> [2001-06-18 08:26:20] [EMAIL PROTECTED]
>
> I can reproduce this with 4.0.6RC3 and 4.0.7dev. But the repeating is not after 
>every reload.
> My guess is that it is per apache child.
>
> Derick
>
> ------------------------------------------------------------------------
>
> [2001-06-18 08:22:29] [EMAIL PROTECTED]
>
> Hiya,
>
> Try to run the example on 
>http://www.php.net/manual/en/control-structures.declare.php a couple of times
>
> output 1st time:
> [tick i=1] [tick i=2]
>
> output 2nd time:
> [tick i=1] [tick i=2] [tick i=3] [tick i=4]
>
> output 3rd time:
> [tick i=1] [tick i=2] [tick i=3] [tick i=4] [tick i=5] [tick i=6]
>
> You should get the point by now I think :)
>
> Greetz,
>
> Wico
>
> ------------------------------------------------------------------------
>
>
>
> ATTENTION! Do NOT reply to this email!
> To reply, use the web interface found at http://bugs.php.net/?id=11536&edit=1
>
>
> --
> 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]
>


--
Joćo Prado Maia <[EMAIL PROTECTED]>
http://phpbrasil.com - php com um jeitinho brasileiro
--
Precisando de consultoria em desenvolvimento para a Internet ?
Impleo.net - http://impleo.net/?lang=br


--
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]

Reply via email to