... in many other languages based on C (avoid ambiguity). 2/ prefer the powerful forEach() function to iterate over arrays.
php.net