Subscribe to PHP Freaks RSS

Short and safe array iteration

syndicated from planet-php.net on October 22, 2017

Short and safe array iteration

One reason to follow development mailing lists is you sometimes pick up on some very neat tricks. Here's one that I spotted on the PHP Internals list recently to simplify array iteration in PHP 7.

Larry 22 October 2017 - 5:50am