From: steven at omicron-software dot co dot uk
Operating system: Windows XP Home Edition
PHP version: 5.0.0RC3
PHP Bug Type: Reproducible crash
Bug description: using isset() crashes PHP5TS.DLL within Apache
Description:
------------
When using a simple isset() script crashes PHP5.
Reproduce code:
---------------
<?
$array = array('foo' => 'bar');
if (isset($array[])) echo "Something";
?>
Expected result:
----------------
The expected result is to echo "Something"
Actual result:
--------------
Actual result is a "Apache.exe has encountered a problem and needs to
close. We are sorry for the inconvenience." error in PHP5TS.DLL, running
as a Module on Apache 1.3.31.
Debug tool with Microsoft Visual Studio returns this:
"Unhandled exception in Apache.exe (PHP5TS.DLL): 0xC0000005: Access
Violation"
--
Edit bug report at http://bugs.php.net/?id=29035&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=29035&r=trysnapshot4
Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=29035&r=trysnapshot5
Fixed in CVS: http://bugs.php.net/fix.php?id=29035&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=29035&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=29035&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=29035&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=29035&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=29035&r=support
Expected behavior: http://bugs.php.net/fix.php?id=29035&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=29035&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=29035&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=29035&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=29035&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=29035&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=29035&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=29035&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=29035&r=float