Do you want BuboFlash to help you learning these things? Or do you want to add or correct something? Click here to log in or create user.

foreach is looping statement works only on arrays (and objects).
If you want to change selection, open document below and click on "Move attachment"

php 6
ough Arrays with foreach As you just saw, it's easy to use each() in combination with while to loop through all the elements of an array. In fact, there's an even easier way: you can use PHP's foreach statement. <span>foreach is a special kind of looping statement that works only on arrays (and objects). You can use it in two ways. You can either retrieve just the value of each element, or you can retrieve the element's key and value.


statusnot read reprioritisations
last reprioritisation on suggested re-reading day
started reading on finished reading on



Do you want to join discussion? Click here to log in or create user.