3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $array1 = array(1=>2,2=>56,56=>45,6=>5,788=>856,5=>73,78=>999); $array3 =sort($array1); print_r($array3); ?>
based on J3jZi
Output for 5.5.0 - 7.3.0rc4
1