3v4l.org

run code in 150+ 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.1.0
I like Volvo, BMW and Toyota.Volvo AND BMW AND Toyota