3v4l.org

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