3v4l.org

run code in 500+ PHP versions simultaneously
<?php $var1 = $var2 ='qwe'; echo preg_match('/^' . preg_quote($var1, '/') . '/ie', $var2);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/6i8ln
function name:  (null)
number of ops:  11
compiled vars:  !0 = $var1, !1 = $var2
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                               ~2      !1, 'qwe'
          1        ASSIGN                                                       !0, ~2
    4     2        INIT_FCALL                                                   'preg_quote'
          3        SEND_VAR                                                     !0
          4        SEND_VAL                                                     '%2F'
          5        DO_ICALL                                             $4      
          6        CONCAT                                               ~5      '%2F%5E', $4
          7        CONCAT                                               ~6      ~5, '%2Fie'
          8        FRAMELESS_ICALL_2                preg_match          ~7      ~6, !1
          9        ECHO                                                         ~7
         10      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
214.55 ms | 2640 KiB | 14 Q