#48364 [Opn->Csd]: unexpected isset return

From: Date: Fri, 22 May 2009 18:23:11 +0000
Subject: #48364 [Opn->Csd]: unexpected isset return
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-137652@lists.php.net to get a copy of this message
ID: 48364 User updated by: clement dot hallet at af83 dot com Reported By: clement dot hallet at af83 dot com -Status: Open +Status: Closed Bug Type: Variables related Operating System: Mac OS X 10.5.6 PHP Version: 5.2.9 New Comment: That bug report is void. Have seen http://fr3.php.net/manual/en/function.isset.php Maybe a change betweens versions ? Previous Comments: ------------------------------------------------------------------------ [2009-05-22 18:14:32] clement dot hallet at af83 dot com Description: ------------ Hi, A call to the 'isset' function with a variable set to NULL returns FALSE. As seen on a previous report bug (http://bugs.php.net/bug.php?id=6076), the return value should be TRUE. Reproduce code: --------------- $a = NULL; var_dump(isset($a)); Expected result: ---------------- the return of isset($a) should be TRUE. Actual result: -------------- isset($a) returns FALSE ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=48364&edit=1

« previous php.bugs (#137652) next »