title: How to find entry by object property from an array of objects?
body: <p>The array looks like:</p>
  <pre><code>[0] =&gt; stdClass Object
          (
              [ID] =&gt; 420
              [name] =&gt; Mary
           )
  
  [1] =&gt; stdClass Object
          (
              [ID] =&gt; 10957
              [name] =&gt; Blah
           )
  ...
  </code></pre>
  <p>And I have an integer variable called <code>$v</code>.</p>
  <p>How could I select an array entry that has an object where the <code>ID</code> property has the <code>$v</code> value?</p>