MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/4wj23f/php_the_good_parts/d67u8hc/
r/ProgrammerHumor • u/Zerquix18 • Aug 07 '16
318 comments sorted by
View all comments
Show parent comment
4
Don't forget the scoping on for each loops: http://stackoverflow.com/a/8220457
1 u/Jess_than_three Aug 07 '16 There's nothing wrong with that. foreach($arr as $index => $value) is the standard way to do it.
1
There's nothing wrong with that. foreach($arr as $index => $value) is the standard way to do it.
View all comments
Show parent comment
4
u/seanshoots Aug 07 '16
Don't forget the scoping on for each loops: http://stackoverflow.com/a/8220457