3v4l.org

run code in 300+ PHP versions simultaneously
<?php $text = '\x5Bli\x5DLevel\x3A\x2023\x5B\x2Fli\x5D'; var_dump(json_decode(json_encode(json_decode($text, true))));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/MBD6m
function name:  (null)
number of ops:  15
compiled vars:  !0 = $text
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '%5Cx5Bli%5Cx5DLevel%5Cx3A%5Cx2023%5Cx5B%5Cx2Fli%5Cx5D'
    4     1        INIT_FCALL                                               'var_dump'
          2        INIT_FCALL                                               'json_decode'
          3        INIT_FCALL                                               'json_encode'
          4        INIT_FCALL                                               'json_decode'
          5        SEND_VAR                                                 !0
          6        SEND_VAL                                                 <true>
          7        DO_ICALL                                         $2      
          8        SEND_VAR                                                 $2
          9        DO_ICALL                                         $3      
         10        SEND_VAR                                                 $3
         11        DO_ICALL                                         $4      
         12        SEND_VAR                                                 $4
         13        DO_ICALL                                                 
         14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.36 ms | 1385 KiB | 19 Q