Re: [PHP] foreach / unset
by Niels Ganser other posts by this author
Oct 27 2005 5:00PM messages near this date
Re: [PHP] foreach / unset
|
Re: [PHP] foreach / unset
Why should this be "unsafe" (whatever the heck that means) in any way? Of
course you can do it.
Regards,
Niels.
[sorry for mailing to your private address. wrong button :)]
> Anyway, can you do *this* safely as a DOCUMENTED FEATURE:
>
> foreach($array as $k => $v){
> Â if (...) unset($array[$k]);
> }
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Thread:
Richard Lynch
Bogdan Ribic
John Nichel
Jochem Maas
Richard Lynch
Brent Baisley
Jochem Maas
Niels Ganser
Karlos Zafra
|