3v4l.org

run code in 300+ PHP versions simultaneously
<?php $characters = array( array( "name" => "A", "occupation" => "A1", "age" => 30, "special power" => "A3" ), array( "name" => "B", "occupation" => "B1", "age" => 24, "special power" => "B2" ), array( "name" => "C", "occupation" => "C1", "age" => 45, "special power" => "C2" ) ); foreach ($characters as $c) { while (list($k, $v) = each ($c)) { echo "$k ... $v <br/>"; } } ?>
Output for git.master, git.master_jit, rfc.property-hooks
Fatal error: Uncaught Error: Call to undefined function each() in /in/Uo6Ye:24 Stack trace: #0 {main} thrown in /in/Uo6Ye on line 24
Process exited with code 255.

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:
51.56 ms | 405 KiB | 9 Q