#29882 [Opn]: isset crashes on arrays

From: Date: Sun, 29 Aug 2004 13:42:58 +0000
Subject: #29882 [Opn]: isset crashes on arrays
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-65418@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 Bug Type: Reproducible crash Operating System: * PHP Version: 4.3.8 Assigned To: helly New Comment: Fixed in 5, 4.3 still returns false. Previous Comments: ------------------------------------------------------------------------ [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 (#65418) next »