3v4l.org

run code in 300+ PHP versions simultaneously
<?php $api_json = '{"a":1,"b":2,"c":3,"d":4,"e":5}'; $result_json = json_decode($api_json, TRUE); echo '<pre>'; print_r($result_json); echo '</pre>';
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/BLdMm
function name:  (null)
number of ops:  12
compiled vars:  !0 = $api_json, !1 = $result_json
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '%7B%22a%22%3A1%2C%22b%22%3A2%2C%22c%22%3A3%2C%22d%22%3A4%2C%22e%22%3A5%7D'
    6     1        INIT_FCALL                                               'json_decode'
          2        SEND_VAR                                                 !0
          3        SEND_VAL                                                 <true>
          4        DO_ICALL                                         $3      
          5        ASSIGN                                                   !1, $3
    9     6        ECHO                                                     '%3Cpre%3E'
   10     7        INIT_FCALL                                               'print_r'
          8        SEND_VAR                                                 !1
          9        DO_ICALL                                                 
   11    10        ECHO                                                     '%3C%2Fpre%3E'
         11      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
179.68 ms | 1394 KiB | 17 Q