Adding an element to the beginning of the array php
<p>Is there a built-in php function or an easy way to insert an element to the beginning of an array?</p>

<p>Something Like:</p>

<pre><code>$matches = Array("apples", "oranges");
insert_to_beginning($matches, "peach");
</code></pre>

<p>Contents:</p>

<pre><code>$matches[0] = peach
$matches[1] = apples
$matches[2] = oranges
</code></pre>
