PHP 8.5.0 Alpha 1 available for testing

Voting

: six plus two?
(Example: nine)

The Note You're Voting On

phpcoder at gmail dot com
6 years ago
each was deprecated because it exposed too much of the internal implementation details, blocking language development. ("We can't do X because it would break each().")

https://wiki.php.net/rfc/deprecations_php_7_2#each

If you want an array pointer, maintain it yourself. Probably a good idea anyway, because then it's visible in the code.

<< Back to user notes page

To Top