3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo json_decode(str_replace('\\\\u', '\u', json_encode(json_encode('\\u'))));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/sXoYg
function name:  (null)
number of ops:  16
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'json_decode'
          1        INIT_FCALL                                               'str_replace'
          2        SEND_VAL                                                 '%5C%5Cu'
          3        SEND_VAL                                                 '%5Cu'
          4        INIT_FCALL                                               'json_encode'
          5        INIT_FCALL                                               'json_encode'
          6        SEND_VAL                                                 '%5Cu'
          7        DO_ICALL                                         $0      
          8        SEND_VAR                                                 $0
          9        DO_ICALL                                         $1      
         10        SEND_VAR                                                 $1
         11        DO_ICALL                                         $2      
         12        SEND_VAR                                                 $2
         13        DO_ICALL                                         $3      
         14        ECHO                                                     $3
         15      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
157.48 ms | 1385 KiB | 19 Q