3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $array = array('Maureen','John','Jason','Sam','Alexander'); asort($array); var_Dump($array);
based on Keo36
Output for 4.3.0 - 7.2.0
array(5) { [4]=> string(9) "Alexander" [2]=> string(5) "Jason" [1]=> string(4) "John" [0]=> string(7) "Maureen" [3]=> string(3) "Sam" }