php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #11536 register_tick_function weirdness
Submitted: 2001-06-18 08:22 UTC Modified: 2002-08-18 01:47 UTC
Votes:1
Avg. Score:4.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:0 (0.0%)
Same OS:0 (0.0%)
From: wico at cnh dot nl Assigned:
Status: Not a bug Package: Scripting Engine problem
PHP Version: 4.0.5 - 4.0.7 OS: linux + apache
Private report: No CVE-ID: None
 [2001-06-18 08:22 UTC] wico at cnh dot nl
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

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-06-18 08:26 UTC] derick@php.net
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-07-10 05:13 UTC] derick@php.net
It's not anaylysed, I could only reproduce it.

Derick
 [2002-08-18 01:47 UTC] iliaa@php.net
Thank you for taking the time to report a problem with PHP.
Unfortunately you are not using a current version of PHP -- 
the problem might already be fixed. Please download a new
PHP version from http://www.php.net/downloads.php

If you are able to reproduce the bug with one of the latest
versions of PHP, please change the PHP version on this bug report
to the version you tested and change the status back to "Open".
Again, thank you for your continued support of PHP.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Mar 28 16:01:29 2024 UTC