3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array = array( array('name'=>'butch', 'sex'=>'male'), array('name'=>'fido', 'sex'=>'male'), array('name'=>'girly','sex'=>'female') ); $it=new RecursiveIteratorIterator(new RecursiveArrayIterator($array)); //$it->rewind(); //The result will be as expected if uncomment this while($it->valid()){ echo $it->key().' -- '.$it->current()."\n"; $it->next(); }
Output for git.master, git.master_jit, rfc.property-hooks
Warning: Array to string conversion in /in/Z6aNp on line 13 0 -- Array name -- butch sex -- male name -- fido sex -- male name -- girly sex -- female

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page


preferences:
31.4 ms | 401 KiB | 8 Q