#29882 [Opn->Csd]: isset crashes on arrays

From: Date: Sun, 29 Aug 2004 16:56:40 +0000
Subject: #29882 [Opn->Csd]: isset crashes on arrays
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-65419@lists.php.net to get a copy of this message
ID: 29882 Updated by: helly@php.net Reported By: tomas_matousek at hotmail dot com -Status: Open +Status: Closed Bug Type: Reproducible crash Operating System: * PHP Version: 4.3.8 Assigned To: helly New Comment: This bug has been fixed in CVS. 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/. Thank you for the report, and for helping us make PHP better. Previous Comments: ------------------------------------------------------------------------ [2004-08-29 15:42:57] helly@php.net Fixed in 5, 4.3 still returns false. ------------------------------------------------------------------------ [2004-08-29 15:27:28] helly@php.net 4.3.8 returns false which is wrong, too. ------------------------------------------------------------------------ [2004-08-29 13:07:12] tomas_matousek at hotmail dot com 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 this bug report at http://bugs.php.net/?id=29882&edit=1

« previous php.bugs (#65419) next »