title: Proper Syntax for printing obective array value from another array
body: <p>When we have associative array values we can echo something this way</p>
  
  <pre><code>&lt;?php
  echo $arr1[$arr2[1]];
  ?&gt;
  </code></pre>
  
  <p>What will be the correct syntax for Objective array? I tried this and it is not working</p>
  
  <pre><code>&lt;?php
  echo $arr1-&gt;{{$arr2[1]}}; // This is not the correct syntax
  ?&gt;
  </code></pre>
  
  <p>What is the correct syntax for Objective array?</p>