title: Is there a shorter way to access a property in an array?
body: <p><code>$jj_post</code> is the array output debug via <code>print_r()</code>. This variable is an array of objects: </p>
  
  <pre><code>Array
  (
      [0] =&gt; stdClass Object
          (
              [ID] =&gt; 2571
          )
  
  )
  </code></pre>
  
  <p>I access the object property, ID, via code like this:</p>
  
  <pre><code>$jj_post_id = $jj_post[0]; 
  $jj_ID = $jj_post_id-&gt;ID;
  </code></pre>
  
  <p>So, is there a shorter way, cause this is the only thing I know and I feel the code little bit too long?</p>