> Not a bug. The unset ($ar) in the unset all function removes the reference to the 
>global variabele.

If you remove the "//"s, the array $ar is still available in UnsetAll()


>   function UnsetAll() {
> 
>     global $ar;
> 
>     //echo "t1s: <br>n"; ListIt(); echo ":t1e <br>n";
> 
>     unset($ar);
> 
>     //echo "t2s: <br>n"; ListIt(); echo ":t2e <br>n";
> 
>   }




-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to