Is there a built-in php function or an easy way to insert an element to the beginning of an array?
Something Like:
$matches = Array("apples", "oranges");
insert_to_beginning($matches, "peach");
Contents:
$matches[0] = peach
$matches[1] = apples
$matches[2] = oranges