3v4l.org

run code in 500+ PHP versions simultaneously
<?php preg_match('/<!--\s+(?<closer>\/)?wp:(?<namespace>[a-z][a-z0-9_-]*\/)?(?<name>[a-z][a-z0-9_-]*)\s+(?<attrs>{(?:(?:[^}]+|}+(?=})|(?!}\s+\/?-->).)*+)?}\s+)?(?<void>\/)?-->/s', 'hi', $matches, PREG_OFFSET_CAPTURE);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/35aU0
function name:  (null)
number of ops:  7
compiled vars:  !0 = $matches
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                                   'preg_match'
          1        SEND_VAL                                                     '%2F%3C%21--%5Cs%2B%28%3F%3Ccloser%3E%5C%2F%29%3Fwp%3A%28%3F%3Cnamespace%3E%5Ba-z%5D%5Ba-z0-9_-%5D%2A%5C%2F%29%3F%28%3F%3Cname%3E%5Ba-z%5D%5Ba-z0-9_-%5D%2A%29%5Cs%2B%28%3F%3Cattrs%3E%7B%28%3F%3A%28%3F%3A%5B%5E%7D%5D%2B%7C%7D%2B%28%3F%3D%7D%29%7C%28%3F%21%7D%5Cs%2B%5C%2F%3F--%3E%29.%29%2A%2B%29%3F%7D%5Cs%2B%29%3F%28%3F%3Cvoid%3E%5C%2F%29%3F--%3E%2Fs'
    3     2        SEND_VAL                                                     'hi'
    4     3        SEND_REF                                                     !0
    5     4        SEND_VAL                                                     256
    2     5        DO_ICALL                                                     
    5     6      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
258.48 ms | 3026 KiB | 14 Q