3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $cars=array("Volvo","BMW","Toyota"); $arrlength=count($cars); for($x=0;$x<$arrlength;$x++) { echo $cars[$x]; echo "<br>"; } ?>
Output for 4.3.0 - 7.1.0
Volvo<br>BMW<br>Toyota<br>