title: Using array_intersect on a multi-dimensional array
body: <p>I have two arrays that both look like this:</p>
  
  <pre><code>Array
  (
      [0] =&gt; Array
          (
              [name] =&gt; STRING
              [value] =&gt; STRING
          )
  
      [1] =&gt; Array
          (
              [name] =&gt; STRING
              [value] =&gt; STRING
          )
  
      [2] =&gt; Array
          (
              [name] =&gt; STRING
              [value] =&gt; STRING
          )
  )
  </code></pre>
  
  <p>and I would like to be able to replicate array_intersect by comparing the ID of the sub arrays within the two master arrays.  So far, I haven't been successful in my attempts.  :(</p>