Unsetting Array Element

From: Date: Wed, 13 Nov 2002 07:11:36 +0000
Subject: Unsetting Array Element
Groups: php.general 
Request: Send a blank email to php-general+get-124172@lists.php.net to get a copy of this message
Does unsetting an array element make the array smaller? For example, if I have two elements in an array... $array = ("title" => "Title of Document", "content" => "Ten paragraphs of text in here..." ); ...then issue this command... unset ($array['content']); ...will this make $array smaller and more efficient if I then pass it on to a function for processing? Thanks!

« previous php.general (#124172) next »