From:             tomas_matousek at hotmail dot com
Operating system: WinXP
PHP version:      5.0.1
PHP Bug Type:     Reproducible crash
Bug description:  isset crashes on arrays

Description:
------------
isset applied to operator [] with empty array key crashes

Reproduce code:
---------------
 $x = array();
 var_dump(isset($x[]));

Expected result:
----------------
bool(false)

Actual result:
--------------
Crash

-- 
Edit bug report at http://bugs.php.net/?id=29882&edit=1
-- 
Try a CVS snapshot (php4):   http://bugs.php.net/fix.php?id=29882&r=trysnapshot4
Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=29882&r=trysnapshot50
Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=29882&r=trysnapshot51
Fixed in CVS:                http://bugs.php.net/fix.php?id=29882&r=fixedcvs
Fixed in release:            http://bugs.php.net/fix.php?id=29882&r=alreadyfixed
Need backtrace:              http://bugs.php.net/fix.php?id=29882&r=needtrace
Need Reproduce Script:       http://bugs.php.net/fix.php?id=29882&r=needscript
Try newer version:           http://bugs.php.net/fix.php?id=29882&r=oldversion
Not developer issue:         http://bugs.php.net/fix.php?id=29882&r=support
Expected behavior:           http://bugs.php.net/fix.php?id=29882&r=notwrong
Not enough info:             http://bugs.php.net/fix.php?id=29882&r=notenoughinfo
Submitted twice:             http://bugs.php.net/fix.php?id=29882&r=submittedtwice
register_globals:            http://bugs.php.net/fix.php?id=29882&r=globals
PHP 3 support discontinued:  http://bugs.php.net/fix.php?id=29882&r=php3
Daylight Savings:            http://bugs.php.net/fix.php?id=29882&r=dst
IIS Stability:               http://bugs.php.net/fix.php?id=29882&r=isapi
Install GNU Sed:             http://bugs.php.net/fix.php?id=29882&r=gnused
Floating point limitations:  http://bugs.php.net/fix.php?id=29882&r=float

Reply via email to