note 37872 added to function.unset

From: Date: Sun, 30 Nov 2003 23:19:44 +0000
Subject: note 37872 added to function.unset
Groups: php.notes 
Request: Send a blank email to php-notes+get-61176@lists.php.net to get a copy of this message
<?php $array = array("item1","item2","item3"); print_r($array); /* Gives: Array ( [0] => item1 [1] => item2 [2] => item3 ) */ // clear the array: $array = false; print_r($array); // array is obliterated! pretty crude but works a treat ?> ---- Manual Page -- http://www.php.net/manual/en/function.unset.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+37872 Delete -- http://master.php.net/manage/user-notes.php?action=delete+37872&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+37872&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#61176) next »