3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.2 ms | 1394 KiB | 17 Q