3v4l.org

run code in 300+ PHP versions simultaneously
<?php $json = '{"GetCodeResult": { "Selling":"1000.67114", "Buying":"9000.65789" } }'; echo json_encode(json_decode($json, true)['GetCodeResult']);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/59RSc
function name:  (null)
number of ops:  11
compiled vars:  !0 = $json
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '%7B%22GetCodeResult%22%3A%0A%7B%0A%22Selling%22%3A%221000.67114%22%2C%0A%22Buying%22%3A%229000.65789%22%0A%7D%0A%7D'
   10     1        INIT_FCALL                                               'json_encode'
          2        INIT_FCALL                                               'json_decode'
          3        SEND_VAR                                                 !0
          4        SEND_VAL                                                 <true>
          5        DO_ICALL                                         $2      
          6        FETCH_DIM_R                                      ~3      $2, 'GetCodeResult'
          7        SEND_VAL                                                 ~3
          8        DO_ICALL                                         $4      
          9        ECHO                                                     $4
         10      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
147.25 ms | 1004 KiB | 15 Q