3v4l.org

run code in 300+ PHP versions simultaneously
<?php $test = 'registry/jenniferandhayden106.17.14/confirm'; $regex = '~^registry/([a-zA-Z0-9\\.\\-]+)/(confirm|deny)~'; var_dump(preg_match($regex, $test));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/3NR2E
function name:  (null)
number of ops:  10
compiled vars:  !0 = $test, !1 = $regex
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'registry%2Fjenniferandhayden106.17.14%2Fconfirm'
    5     1        ASSIGN                                                   !1, '%7E%5Eregistry%2F%28%5Ba-zA-Z0-9%5C.%5C-%5D%2B%29%2F%28confirm%7Cdeny%29%7E'
    7     2        INIT_FCALL                                               'var_dump'
          3        INIT_FCALL                                               'preg_match'
          4        SEND_VAR                                                 !1
          5        SEND_VAR                                                 !0
          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:
143.97 ms | 1394 KiB | 17 Q