<?php $array = ['a','b','c','d','e']; echo implode(', ', array_slice($array, 0, -1)) . ' and ' . end($array);
You have javascript disabled. You will not be able to edit any code.