note 60417 deleted from language.types.null by peehaa

From: Date: Sun, 28 Apr 2019 10:55:24 +0000
Subject: note 60417 deleted from language.types.null by peehaa
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-210836@lists.php.net to get a copy of this message
Note Submitter: ---- // Difference between "unset($a);" and "$a = NULL;" : <?php // unset($a) $a = 5; $b = & $a; unset($a); print "b $b "; // b 5 // $a = NULL; (better I think) $a = 5; $b = & $a; $a = NULL; print "b $b "; // b print(! isset($b)); // 1 ?>

« previous php.notes (#210836) next »