3v4l.org

run code in 300+ PHP versions simultaneously
<?php //$data = array('Ann' => 1, 'Anna' => 1, 'Tomsdgfdh' => 100, 'Tommy' => 100, 'Dan' => 200, 'Danny' => 200); $data = array('Anna' => 1, 'Ann' => 1, 'Tommy' => 100, 'Tom' => 100, 'Dan' => 200, 'Danny' => 200); ksort($data); $result=array_flip(array_flip($data)); print_r($result);
Output for git.master, git.master_jit, rfc.property-hooks
Array ( [Anna] => 1 [Danny] => 200 [Tommy] => 100 )

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:
39.78 ms | 405 KiB | 5 Q