3v4l.org

run code in 300+ PHP versions simultaneously
<?php $data = '[{"id":90047,"value":"Straatnaam"},{"id":41971,"value":"Postcode"},{"id":54178,"value":"Plaats"},{"id":64308,"value":"Radio button"}]'; $json = json_decode($data,true); print_r($json);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/SbcoI
function name:  (null)
number of ops:  10
compiled vars:  !0 = $data, !1 = $json
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, '%5B%7B%22id%22%3A90047%2C%22value%22%3A%22Straatnaam%22%7D%2C%7B%22id%22%3A41971%2C%22value%22%3A%22Postcode%22%7D%2C%7B%22id%22%3A54178%2C%22value%22%3A%22Plaats%22%7D%2C%7B%22id%22%3A64308%2C%22value%22%3A%22Radio+button%22%7D%5D'
    3     1        INIT_FCALL                                               'json_decode'
          2        SEND_VAR                                                 !0
          3        SEND_VAL                                                 <true>
          4        DO_ICALL                                         $3      
          5        ASSIGN                                                   !1, $3
    4     6        INIT_FCALL                                               'print_r'
          7        SEND_VAR                                                 !1
          8        DO_ICALL                                                 
          9      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
139.89 ms | 1436 KiB | 15 Q