each¶
each() was a native function, that would yield each element in an array. It was used in while() loops, to traverse lists.
It was deprecated during PHP 7.x and it completely removed in PHP 8.
Added in PHP 1.0
Removed in PHP 1.0
each() was a native function, that would yield each element in an array. It was used in while() loops, to traverse lists.
It was deprecated during PHP 7.x and it completely removed in PHP 8.
Added in PHP 1.0
Removed in PHP 1.0
The definitive reference with all things PHP, and their definitions.
Contents: