#29882 [Opn]: isset crashes on arrays

From: Date: Sun, 29 Aug 2004 13:27:29 +0000
Subject: #29882 [Opn]: isset crashes on arrays
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-65417@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: WinXP +Operating System: * -PHP Version: 5.0.1 +PHP Version: 4.3.8 -Assigned To: +Assigned To: helly New Comment: 4.3.8 returns false which is wrong, too. Previous Comments: ------------------------------------------------------------------------ [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 (#65417) next »