<?php $json = '{"GetCodeResult": { "Selling":"1000.67114", "Buying":"9000.65789" } }'; list($selling, $buying) = array_values(json_decode($json, true)['GetCodeResult']); echo $selling .PHP_EOL; echo $buying .PHP_EOL;
You have javascript disabled. You will not be able to edit any code.