MSSql MySql Python javascript PHP java DotNet Ruby Hackme Takeawy Code Twitter Facebook

The house of developers, A website to classify and rank developers

 
 
 
 
Country Rank: 2
World Rank: 69
Profile Viewed: 493
Points: 4593
03 Mar 2010

Another way to loop array's

Another array walk, I'd like to profile it to check if it is faster then the "foreach" function :)



$count = count($array) - 1; $card = ''; for(reset($array); key($array) != $count; next($array)){   $card.= current($array); } reset($array);

Facebook Share Delicious Share Digg Share Google Buzz Share My Space Share Reddit Share Stumbleupon Share Technorati Share Twitter Share

Comments

Please, login or register to add a comment.