3v4l.org

run code in 300+ PHP versions simultaneously
<?php $char_set = 'a-z_'; $val = 'login_form'; var_dump(preg_quote($char_set, '/'));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/C54Hr
function name:  (null)
number of ops:  10
compiled vars:  !0 = $char_set, !1 = $val
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'a-z_'
    4     1        ASSIGN                                                   !1, 'login_form'
    5     2        INIT_FCALL                                               'var_dump'
          3        INIT_FCALL                                               'preg_quote'
          4        SEND_VAR                                                 !0
          5        SEND_VAL                                                 '%2F'
          6        DO_ICALL                                         $4      
          7        SEND_VAR                                                 $4
          8        DO_ICALL                                                 
          9      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
163.62 ms | 1394 KiB | 17 Q