title: Find array key in objects array given an attribute value
body: <p>I have an objects array like this:</p>
  
  <pre><code>Array
  (
      [945] =&gt; member Object
          (
              [id] =&gt; 13317
              [name] =&gt; Test 999
              [last_name] =&gt; Test 999
          )
  
      [54] =&gt; member Object
          (
              [id] =&gt; 13316
              [name] =&gt; Manuel
              [last_name] =&gt; Maria parra
          )
  
      [654] =&gt; member Object
          (
              [id] =&gt; 13315
              [name] =&gt; Byron 
              [last_name] =&gt; Castillo
          )
  
      [656] =&gt; member Object
          (
              [id] =&gt; 13314
              [name] =&gt; Cesar
              [last_name] =&gt; Vasquez
          )
  )
  </code></pre>
  
  <p>I need to remove one of these objects according to an attribute value.<br>
  For example, I want to remove from the array the object id 13316.</p>