title: Get data from json array PHP
body: <p>i decoded the json data using php json_decode
  here is my output with print_r</p>
  
  <pre><code>stdClass Object ( 
  [uv] =&gt; stdClass Object ( 
  [current] =&gt; stdClass Object ( 
  [class_name] =&gt; delta-positive 
  [display] =&gt; 668 [value] =&gt; 668 ) 
  [yoy_perc] =&gt; stdClass Object ( 
           [class_name] =&gt; delta-negative 
           [display] =&gt; -21.23% 
           [value] =&gt; -21.23 ) 
  [mom_perc] =&gt; stdClass Object ( 
           [class_name] =&gt; delta-negative 
           [display] =&gt; -8.87% [value] =&gt; -8.87 ) 
  [yoy] =&gt; stdClass Object ( 
           [class_name] =&gt; delta-negative 
           [display] =&gt; -180 [value] =&gt; -180 ) 
  [mom] =&gt; stdClass Object ( 
           [class_name] =&gt; delta-negative 
           [display] =&gt; -65 
           [value] =&gt; -65 ) ) 
  [page_title] =&gt; example.com 668 UVs for December 2012 | Compete 
  [rank] =&gt; stdClass Object ( 
          [current] =&gt; stdClass Object ( 
             [class_name] =&gt; delta-positive 
               [display] =&gt; 1,398,481 
              [value] =&gt; 1398481 ) [yoy] =&gt; stdClass Object ( [class_name] =&gt; delta-negative [display] =&gt; -187,667 [value] =&gt; -187667 ) [last_month] =&gt; stdClass Object ( [class_name] =&gt; delta-positive [display] =&gt; 1,246,200 [value] =&gt; 1246200 ) [mom] =&gt; stdClass Object ( [class_name] =&gt; delta-negative [display] =&gt; -152,281 [value] =&gt; -152281 ) [last_year] =&gt; stdClass Object ( [class_name] =&gt; delta-positive [display] =&gt; 1,210,814 [value] =&gt; 1210814 ) ) ) 
  </code></pre>
  
  <p>i need to get</p>
  
  <pre><code>[display] =&gt; 668 [value] =&gt; 668 )
  </code></pre>
  
  <p><strong>668</strong></p>
  
  <p>of this i tried using foreach but no luck. anyone know how to do that using php an efficient way i mean without a loop
  thank you</p>