Generating a PHP list with "and"
<p>What's an efficient way to format an array in PHP as a list with commas and the word "and" before the last element?</p>

<pre><code>$array = Array('a','b','c','d');
</code></pre>

<p>I want to produce the string "a, b, c, and d"</p>
