In theory the memory should be free and the array should be smaller...


On Wed, 2002-11-13 at 07:11, Monty wrote:
> 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!
-- 
.: B i g D o g :.



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to