3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a = array(4, 6, 3); echo var_dump(sort($a)); print_r($a);
based on KotlT
Output for 4.3.0 - 7.2.0
bool(true) Array ( [0] => 3 [1] => 4 [2] => 6 )