title: Getting specific array data when multiple arrays are printed
body: <p>I need to get the specific array data from a print when it is multiple different arrays printed.</p>
  
  <p>This code:</p>
  
  <pre><code>$matches = $client-&gt;upcoming();
  
  print_r($matches);
  </code></pre>
  
  <p>Prints out this:</p>
  
  <pre><code>Array (
  [0] =&gt; HltvApi\\Entity\\Match Object (
   [details:protected] =&gt;
   [data:protected] =&gt; Array (
   [id] =&gt; 2338619
   [status] =&gt; 1
   [team1] =&gt; KINGZZZ
   [team2] =&gt; Equinox
   [url] =&gt; /matches/2338619/kingzzz-vs-equinox-swiss-esports-league-fall-season-2019-finals
   [type] =&gt; 3
   [event] =&gt; Swiss Esports League Fall Season 2019 Finals
   [timestamp] =&gt; 1576428300
   )
   [client:protected] =&gt; HltvApi\\Client Object (
   [proxyList:protected] =&gt; Array (
   )
   [baseUrl:protected] =&gt; https://hltv.org
   )
  )
  [1] =&gt; HltvApi\\Entity\\Match Object (
   [details:protected] =&gt;
   [data:protected] =&gt; Array (
   [id] =&gt; 2338432
   [status] =&gt; 1
   [team1] =&gt; mousesports
   [team2] =&gt; OG
   [url] =&gt; /matches/2338432/mousesports-vs-og-cs-summit-5
   [type] =&gt; 3
   [event] =&gt; cs_summit 5
   [timestamp] =&gt; 1576429200
   )
   [client:protected] =&gt; HltvApi\\Client Object (
   [proxyList:protected] =&gt; Array (
   )
   [baseUrl:protected] =&gt; https://hltv.org
   )
  )
  [2] =&gt; HltvApi\\Entity\\Match Object (
   [details:protected] =&gt;
   [data:protected] =&gt; Array (
   [id] =&gt; 2338595
   [status] =&gt; 1
   [team1] =&gt; ECLOT
   [team2] =&gt; EXORS
   [url] =&gt; /matches/2338595/eclot-vs-exors-esl-nationals-czsk-season-2
   [type] =&gt; 3
   [event] =&gt; ESL Nationals CZSK Season 2
   [timestamp] =&gt; 1576429200
   )
   [client:protected] =&gt; HltvApi\\Client Object (
   [proxyList:protected] =&gt; Array (
   )
   [baseUrl:protected] =&gt; https://hltv.org
   )
  )
  </code></pre>
  
  <p>So I basically only want to fetch the array data from the "first" array <strong>[1]</strong> where [id] = 2338432. 
  And yes I know that I could do <code>$matches = $client-&gt;upcoming()[1];</code> but I need to get to that array by <strong>[id]</strong>. </p>
  
  <p>I have tried something like this to get it working, but it doesn't.</p>
  
  <pre><code>$matches = $client-&gt;upcoming()["'id'=&gt;'2338619'"];
  </code></pre>
  
  <p>So, how do I get that specific array data by "searching" by the id of the array?</p>