3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $tmp = array('ca'=>1,'cb'=>2,'ce'=>1,'pa'=>2,'pe'=>1); // Standard asort asort($tmp); foreach ($tmp as $e) { echo $e."\n"; }
based on N01GM
Output for 4.3.0 - 7.2.0
1 1 1 2 2