title: Bitcoin current value in PHP?
body: <p>I'd like to have a "current BitCoin price" on an HTML document. I found <a href="https://mtgox.com/api/0/data/ticker.php" rel="nofollow">https://mtgox.com/api/0/data/ticker.php</a>, which returns this:</p>
  
  <pre><code>{"ticker":{"high":12.43,"low":11.7,"avg":12.10615987,"vwap":12.098317306,"vol":58453,"last_all":12.34351,"last_local":12.34351,"last":12.34351,"buy":12.3341,"sell":12.34351}}
  </code></pre>
  
  <p>How can I set a PHP variable to just the value of <code>last_all</code> (12.34351)?</p>