Thread: Foreach
View Single Post
Old 03-29-2008, 06:41 PM   #17 (permalink)
Morishani
The Contributor
 
Join Date: Nov 2007
Posts: 32
Thanks: 5
Morishani is on a distinguished road
Default

Quote:
Originally Posted by sjaq View Post
Actually, there is a faster way for doing a foreach with key and value:
PHP Code:
$key array_keys($aHash);
$size count($key);
for (
$i=0$i<$size$i++) $aHash[$key[$i]] .= "a"
source
Hi, Thanks for the benchmarks
__________________
מטבחים (hebrew)
Send a message via ICQ to Morishani Send a message via MSN to Morishani
Morishani is offline  
Reply With Quote