PHP Tutorials
Php What isPHP INI Tutorials
Php ini What isPHP Foreach used to traverse to each array element. In the foreach loop will process each item in the array using the same operations until it has cycled through each item in the array. When foreach first starts executing, Automatically the internal array pointer reset to the first element of the array.
parameters used to store array name.
this parameters used to store array temporary.
The above example loops through the $shoppingList array and displays the name of each item.
|
Tweet |
|
|