3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php //$arr = array(); for ($i=100;$i<105;$i++) { $arr = array($i => $i-10); } print_r($arr); // Standard asort asort($arr); print_r($arr);
based on Cstdt
Output for 4.3.0 - 7.1.0
Array ( [104] => 94 ) Array ( [104] => 94 )