#43418 [Opn->WFx]: tick doesn't work as expected when using Apache 2.0 Handler as interface
| From: | jani@php.net | Date: | Fri, 18 Jul 2008 16:13:49 +0000 |
| Subject: | #43418 [Opn->WFx]: tick doesn't work as expected when using Apache 2.0 Handler as interface | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-126956@lists.php.net to get a copy of this message | ||
ID: 43418
Updated by: jani@php.net
Reported By: deminy at deminy dot net
-Status: Open
+Status: Wont fix
Bug Type: Apache2 related
Operating System: Ubuntu, SunOS, etc
PHP Version: 5.2.5
New Comment:
Ticks are deprecated in PHP 5.3.0 and will be completely removed in PHP
6. We're not going to waste time trying to fix the inherently broken
thing.
Previous Comments:
------------------------------------------------------------------------
[2007-11-27 12:53:38] jani@php.net
See also bug #24943
------------------------------------------------------------------------
[2007-11-26 20:26:36] deminy at deminy dot net
Description:
------------
I wrote a script to test the behavior of construct "declare/tick", and
found that the HTTP outputs among different requests were inconsistent
(The outputs were supposed to be the same according to the official
documentation).
I have tested the same script on three different web servers (which
have different versions of PHP installed: 4.4.7, 5.1.6, 5.2.5, etc). I
also tested the script using other different ways (from command line,
running the script as a CGI script, etc). The script and other releated
information (including PHP information) was put at this URL:
http://www.deminy.net/php/bugs/php_bug_tick.tar.gz
The bug reported here is similar to
http://bugs.php.net/bug.php?id=11536
(register_tick_function weirdness)
Reproduce code:
---------------
The code and other information are put here:
http://www.deminy.net/php/bugs/php_bug_tick.tar.gz
Expected result:
----------------
All HTTP requests to the script sould return only 5 lines beside the
1st line (which contains a string "#!/opt/php5/bin/php").
Actual result:
--------------
Basically, for the 1st HTTP request, the output contains 5 lines; for
the 2nd request, the output may contain 10 lines; for the 3nd request,
the output may contain 15 lines ......for the Nth request, the output
contains 5 lines again, and so on ......
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=43418&edit=1