3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $r=array("Sophia"=>"31","Jacob"=>"41","William"=>"39","Ramesh"=>"40"); echo "ascending order sort by value"."<br>"; asort($r); foreach($r as $k=>$v) { echo $v; } ?>
Output for 4.3.0 - 7.1.0
ascending order sort by value<br>31394041