title: How to access object properties with names like integers or invalid property names?
body: <p>I am using <code>json_decode()</code> something like:</p>
  
  <pre><code>$myVar = json_decode($data)
  </code></pre>
  
  <p>Which gives me output like this:</p>
  
  <pre><code>[highlighting] =&gt; stdClass Object
          (
              [448364] =&gt; stdClass Object
                  (
                      [Data] =&gt; Array
                          (
                              [0] =&gt; Tax amount liability is ....... 
  </code></pre>
  
  <p>I want to access the string value in the key [0]. When I try to do something like:</p>
  
  <pre><code>print $myVar-&gt;highlighting-&gt;448364-&gt;Data-&gt;0;
  </code></pre>
  
  <p>I get this error:</p>
  
  <blockquote>
    <p>Parse error: syntax error, unexpected T_DNUMBER</p>
  </blockquote>
  
  <p>The two numerals/integers there seems to be problem.</p>