Say I have this array.
$block_io->get_current_price(array());
That array will give me this output.
{
"status" : "success",
"data" : {
"network" : "BTC",
"prices" : [
{
"price" : "1500.01",
"price_base" : "AUD",
"exchange" : "coinspot",
"time" : 1488955012
},
{
How can I convert the above output into individual variables?
For eg.
$status = 'success';
$network = 'BTC';
$price = '1500.01';
...etc