3v4l.org

run code in 300+ 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/71dvs
function name:  (null)
number of ops:  14
compiled vars:  !0 = $var1, !1 = $var2
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                           ~2      !1, 'qwe%C5%B1%C5%B1%C5%B1'
          1        ASSIGN                                                   !0, ~2
    4     2        INIT_FCALL                                               'preg_match'
          3        INIT_FCALL                                               'preg_quote'
          4        SEND_VAR                                                 !0
          5        SEND_VAL                                                 '%2F'
          6        DO_ICALL                                         $4      
          7        CONCAT                                           ~5      '%2F%5E', $4
          8        CONCAT                                           ~6      ~5, '%2Fie'
          9        SEND_VAL                                                 ~6
         10        SEND_VAR                                                 !1
         11        DO_ICALL                                         $7      
         12        ECHO                                                     $7
         13      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
164.88 ms | 1394 KiB | 17 Q