PHP array function that matches this foreach loop
<p>PHP have all sort of built in array functions. 
So I'm wondering if there is a function that is equivalent to the foreach loop in this code.</p>

<pre><code>$args = array('var1', 'var2');
$args2 = array('var3', 'var4', 'var5', 'var6');

foreach ($args2 as $arg) {
    $args[] = $arg;
}
</code></pre>
