3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $cars=array("Volvo","BMW","Toyota"); sort($cars); $clength=count($cars); for($x=0;$x<$clength;$x++) { echo $cars[$x]; echo "<br>"; } ?>
based on l0Fga
Output for 5.6.0 - 5.6.30, hhvm-3.18.5 - 3.22.0, 7.1.0 - 7.3.0beta1
BMW<br>Toyota<br>Volvo<br>