ID:               15267
 User updated by:  ferguson at becon dot org
 Reported By:      ferguson at becon dot org
 Status:           Closed
 Bug Type:         Scripting Engine problem
 Operating System: Windows 2000
 PHP Version:      4.2.3
 New Comment:

Should the documentation not mention that for months (if not years)
this problem has existed and if you are trying to use declare on
windows95/98/me/xp you WILL fail? At the very least the documentation
should say that the declare on windows is flaky. This however, would be
an outright lie because it is not flaky, it does not work period! Not
only does it not work, it causes apache to crash a lot of the time. It
also causes fatal errors.

Why has is been closed when the problem is still existent and plaguing
PHP? Please re-open.

As another note, it may not be declare. register_tick_function also
causes it to crash in the same manor.

Brendan


Previous Comments:
------------------------------------------------------------------------

[2004-01-20 02:47:34] neophitostheodorou at hotmail dot com

The same problem  occures when using php 5.0.0b3 with apache server
2.0.48 under Windows XP. It seems that the problem is caused by the
declare statement. Propably it's not a problem of the documentation
example because I used a similar example found in a book and the same
error occured.

------------------------------------------------------------------------

[2002-11-18 13:47:40] junkie at overdoos dot org

having the same problem.. 
tried it on combinations of win2k with apache 1.3.22 and php as sapi
with versions 4.2.2 , 4.2.3 and 4.4.0-dev 
and tried it with apache 2.0.43 with 4.4.0-dev too

crashes an apache thread (probably) with a memory fault .. couldnt read
from address 0x0etc . server does keep running though.

when commenting //register_tick_function() it works fine. 
even leaving declare(ticks=1) {......} in tact.

Vincent.

------------------------------------------------------------------------

[2002-11-13 01:04:04] fredchou at free dot fr

I installed PHP Version 4.2.4-dev.

This bug has not been fixed yet ! I should perhaps update my Apache
version ? (1.3.24)

------------------------------------------------------------------------

[2002-10-25 04:29:16] fd at sds dot com

ghhgjghjgh

------------------------------------------------------------------------

[2002-09-26 19:31:55] [EMAIL PROTECTED]

This bug has been fixed in CVS.

In case this was a PHP problem, snapshots of the sources are packaged
every three hours; this change will be in the next snapshot. You can
grab the snapshot at http://snaps.php.net/.
 
In case this was a documentation problem, the fix will show up soon at
http://www.php.net/manual/.

In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites in short time.
 
Thank you for the report, and for helping us make PHP better.

oops, forgot to close.

------------------------------------------------------------------------

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/15267

-- 
Edit this bug report at http://bugs.php.net/?id=15267&edit=1

Reply via email to