foreach() enhancement (not too serious ;)

From: Date: Mon, 20 Aug 2001 17:53:31 +0000
Subject: foreach() enhancement (not too serious ;)
Groups: php.dev 
Request: Send a blank email to php-dev+get-63896@lists.php.net to get a copy of this message
While hacking around I came up with another variation for foreach() feature request ... foreach( $somearary as list($ene, $mene, $muh)) { or foreach( $somearray as $somekey => list($ene, $mene, $muh)) { given that $somearray = array( 'key1' => array('1','2','3'), [...] ); :) Markus -- Markus Fischer, http://guru.josefine.at/~mfischer/ EMail: mfischer@guru.josefine.at PGP Public Key: http://guru.josefine.at/~mfischer/C2272BD0.asc PGP Fingerprint: D3B0 DD4F E12B F911 3CE1 C2B5 D674 B445 C227 2BD0 -All your scripts are belong to Zend-

« previous php.dev (#63896) next »