note 41723 added to language.types.null

From: Date: Wed, 21 Apr 2004 00:21:29 +0000
Subject: note 41723 added to language.types.null
Groups: php.notes 
Request: Send a blank email to php-notes+get-68397@lists.php.net to get a copy of this message
responding to joemamacow at hotmail dot com comment: if you are using isset() to check is the variable set, the more logically and clear way to "delete" the variable is to use unset() (http://www.php.net/unset ) function: <?php unset($variable); ?> Of course setiing variable value to NULL is also OK. ---- Manual Page -- http://www.php.net/manual/en/language.types.null.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+41723 Delete -- http://master.php.net/manage/user-notes.php?action=delete+41723&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+41723&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#68397) next »