Can I determine PHP array value deltas?
<p>I have two multidimensional arrays that I need to determine the delta for each value.  I know the array_diff function only returns the difference in keys.  Is there a functon that will determine the delta for each set of values assuming the two arrays contain the same set of keys?</p>

<p>Example:</p>

<pre><code>array_1(test1 =&gt; Array([key1] =&gt; 100, [key2] =&gt; 200 ) )

array_2(test1 =&gt; Array([key1] =&gt; 105, [key2] =&gt; 195 ) )
</code></pre>

<p>I would expect something like:</p>

<pre><code>array_3(test1 =&gt; Array([key1] =&gt; 5, [key2] =&gt; -5 ) ) 
</code></pre>

<p>Are there any PHP methods to do this or am I on my own?</p>
