[PHP] unset array here?

2002-07-25 Thread Bas Jobsen
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;}

Re: [PHP] unset array here?

2002-07-25 Thread Analysis Solutions
On Thu, Jul 25, 2002 at 10:26:03PM +0200, Bas Jobsen wrote: 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: