title: Reading JSON data variable
body: <p>Im having a problem reading JSON data. It is probably just a simple thing, but I dont know how to solve it. Basically I have a PHP page, which reads JSON data from a url. 
  It all works fine except for one variable. The problem with this variable is, that the actual name of the node in the JSON file contains a number and this causes an error in the php file, which stops executing.
  The variables that work are for example like this:</p>
  
  <pre><code>$name = $data-&gt;name;
  </code></pre>
  
  <p>The one that doesnt work is:</p>
  
  <pre><code>$rain = $data-&gt;rain-&gt;3h;
  </code></pre>
  
  <p>When I do this I get:</p>
  
  <pre><code>Parse error: syntax error, unexpected T_LNUMBER, expecting T_STRING or T_VARIABLE or '{' or '$' in...
  </code></pre>
  
  <p>When I remove that "3" and leave it just like "h", it works ok, but the problem is, that the node is called "3h", therefore it works, but it doesnt load the value</p>