3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = array ( 0 => array ('Hund', 'Katze'), 1 => array ('Hund', 'Katze', 'Pferd'), 2 => array ('Hund', 'Katze'), 3 => array ('Katze', 'Hund'), 4 => array (1=>'Hund', 2=>'Katze'), ); $b = array_unique($a, SORT_REGULAR); print_r($b);
Output for git.master, git.master_jit, rfc.property-hooks
Array ( [0] => Array ( [0] => Hund [1] => Katze ) [1] => Array ( [0] => Hund [1] => Katze [2] => Pferd ) [3] => Array ( [0] => Katze [1] => Hund ) [4] => Array ( [1] => Hund [2] => Katze ) )

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:
63.68 ms | 402 KiB | 8 Q