3v4l.org

run code in 300+ PHP versions simultaneously
<?php $text = '\x5Bli\x5DLevel\x3A\x2023\x5B\x2Fli\x5D'; var_dump(json_decode(json_encode($text, true)));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/2ETfR
function name:  (null)
number of ops:  12
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        SEND_VAR                                                 !0
          5        SEND_VAL                                                 <true>
          6        DO_ICALL                                         $2      
          7        SEND_VAR                                                 $2
          8        DO_ICALL                                         $3      
          9        SEND_VAR                                                 $3
         10        DO_ICALL                                                 
         11      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.05 ms | 1385 KiB | 19 Q