note 92047 added to language.types.null

From: Date: Tue, 07 Jul 2009 01:51:43 +0000
Subject: note 92047 added to language.types.null
Groups: php.notes 
Request: Send a blank email to php-notes+get-157992@lists.php.net to get a copy of this message
Same experiment as above, different results. PHP version 5.2.5 $var = NULL; isset($var) is FALSE empty($var) is TRUE is_null($var) is TRUE isset($novar) is FALSE empty($novar) is TRUE is_null($novar) is TRUE NULL == FALSE is TRUE NULL == NULL is TRUE $novar === NULL is TRUE $novar == NULL is TRUE ---- Server IP: 209.41.74.194 Probable Submitter: 24.208.176.170 ---- Manual Page -- http://www.php.net/manual/en/language.types.null.php Edit -- https://master.php.net/note/edit/92047 Del: integrated -- https://master.php.net/note/delete/92047/integrated Del: useless -- https://master.php.net/note/delete/92047/useless Del: bad code -- https://master.php.net/note/delete/92047/bad+code Del: spam -- https://master.php.net/note/delete/92047/spam Del: non-english -- https://master.php.net/note/delete/92047/non-english Del: in docs -- https://master.php.net/note/delete/92047/in+docs Del: other reasons-- https://master.php.net/note/delete/92047 Reject -- https://master.php.net/note/reject/92047 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#157992) next »