Hello,

I have this  example code:
function doprint($a){foreach($a as $value)echo $value;}
doprint(array('1','test','hello','and'));

Question, is the array in memory after the function call?
So, should it be better to use this:

function doprint($a){foreach($a as $value)echo $value;}
doprint($temp=array('1','test','hello','and'));
unset($temp);

Thanks,

Bas

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

Reply via email to