3v4l.org

run code in 300+ PHP versions simultaneously
<?php $parent[0] = array(0, 0, 0); $parent[2] = array("foo", "bar", "b", "a", "z"); $parent[1] = array(4, 2); $parent[5] = array(11, 2); $parent[3] = array(1, 21); $parent[4] = array(11, 1); array_multisort(array_map('count', $parent), $parent); var_export($parent);
Output for git.master, git.master_jit, rfc.property-hooks
array ( 0 => array ( 0 => 1, 1 => 21, ), 1 => array ( 0 => 4, 1 => 2, ), 2 => array ( 0 => 11, 1 => 1, ), 3 => array ( 0 => 11, 1 => 2, ), 4 => array ( 0 => 0, 1 => 0, 2 => 0, ), 5 => array ( 0 => 'foo', 1 => 'bar', 2 => 'b', 3 => 'a', 4 => 'z', ), )

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