3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arr = [ "EU" => [ 0 => "NL", 1 => "BE", 3 => "FR", 4 => "DE", 5 => "ES", 6 => "IT", 7 => "GB", 8 => "TR", 9 => "DK", ], "AS" => ["AB", "AA"] ]; foreach ($arr as &$row) { sort($row); } var_export($arr);
Output for git.master_jit, git.master, rfc.property-hooks
array ( 'EU' => array ( 0 => 'BE', 1 => 'DE', 2 => 'DK', 3 => 'ES', 4 => 'FR', 5 => 'GB', 6 => 'IT', 7 => 'NL', 8 => 'TR', ), 'AS' => array ( 0 => 'AA', 1 => 'AB', ), )

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:
124.52 ms | 406 KiB | 5 Q