3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $cars = array("Volvo", "BMW", "Toyota"); foreach ($cars as $car) { echo '<tr> <td>' . $car . '</td> </tr>'; }
Output for 5.6.0 - 5.6.30, hhvm-3.15.4, 7.0.0 - 7.2.0
<tr> <td>Volvo</td> </tr><tr> <td>BMW</td> </tr><tr> <td>Toyota</td> </tr>