> 
> In terms of readability, I'm more likely to do
>  $keys = array_keys($array);
>  foreach($keys as $key){

Fair point. I would too.

I have actually forgone even grabbing the keys and just using the loop without 
touching value in the body. 

Cheers,
Josh
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: https://www.php.net/unsub.php

Reply via email to