3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $cars=array("Volvo","BMW","Toyota"); //echo "I like " . $cars[0] . ", " . $cars[1] . " and " . $cars[2] . "."; $cars = implode(' AND ', $cars); echo $cars; ?>
Output for 4.3.0 - 7.2.0
Volvo AND BMW AND Toyota