From: [EMAIL PROTECTED]
Operating system: Windows Vista
PHP version: 5.2.5
PHP Bug Type: Scripting Engine problem
Bug description: Declare crashes Apache
Description:
------------
Using the declare construct causes Apache to crash on Windows Vista,
aslong the "declare(ticks=n)" is present anywhere in the code it seems to
crash Apache.
I havn't tried this under IIS though and any other operating systems.
Reproduce code:
---------------
<?php
declare(ticks=1);
?>
Or even the example on the documentation page
Expected result:
----------------
No crash
Actual result:
--------------
Windows promts me saying Apache has crashed with this message:
Problem signature:
Problem type: APPCRASH
Program name: httpd.exe
Program version: 2.2.6.0
Timestamp for program: 46deb625
Error module name: StackHash_d351
Error module version: 0.0.0.0
Timestamp on error module: 00000000
Exception code: c0000005
Exception Shifting: 666f7270
OS version: 6.0.6000.2.0.0.256.1
Country standard id: 1030
More information 1: d351
More information 2: e4c68b1163c602091f1022ca6cd48c47
More information 3: a7a4
More information 4: e8322cccddd45a35753f145051c9d41d
This is a translation of the box I retrive from Windows when executing any
of the above examples.
--
Edit bug report at http://bugs.php.net/?id=44402&edit=1
--
Try a CVS snapshot (PHP 5.2):
http://bugs.php.net/fix.php?id=44402&r=trysnapshot52
Try a CVS snapshot (PHP 5.3):
http://bugs.php.net/fix.php?id=44402&r=trysnapshot53
Try a CVS snapshot (PHP 6.0):
http://bugs.php.net/fix.php?id=44402&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=44402&r=fixedcvs
Fixed in release:
http://bugs.php.net/fix.php?id=44402&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=44402&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=44402&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=44402&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=44402&r=support
Expected behavior: http://bugs.php.net/fix.php?id=44402&r=notwrong
Not enough info:
http://bugs.php.net/fix.php?id=44402&r=notenoughinfo
Submitted twice:
http://bugs.php.net/fix.php?id=44402&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=44402&r=globals
PHP 4 support discontinued: http://bugs.php.net/fix.php?id=44402&r=php4
Daylight Savings: http://bugs.php.net/fix.php?id=44402&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=44402&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=44402&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=44402&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=44402&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=44402&r=mysqlcfg