3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = '<Directory ~ "gjgj" khkj>'; $matches = []; var_dump(preg_match('^<(\S+)\s*[\S\s]+>', $str, $matches));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/V0L0e
function name:  (null)
number of ops:  11
compiled vars:  !0 = $str, !1 = $matches
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    5     0  E >   ASSIGN                                                   !0, '%3CDirectory++%7E+%22gjgj%22+++khkj%3E'
    6     1        ASSIGN                                                   !1, <array>
    7     2        INIT_FCALL                                               'var_dump'
          3        INIT_FCALL                                               'preg_match'
          4        SEND_VAL                                                 '%5E%3C%28%5CS%2B%29%5Cs%2A%5B%5CS%5Cs%5D%2B%3E'
          5        SEND_VAR                                                 !0
          6        SEND_REF                                                 !1
          7        DO_ICALL                                         $4      
          8        SEND_VAR                                                 $4
          9        DO_ICALL                                                 
         10      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
160.4 ms | 1394 KiB | 17 Q