3v4l.org

run code in 300+ PHP versions simultaneously
<?php preg_match('#^/vendorLookup/search/(?P<mac>(?:[[:xdigit:]]{2}([-:]))(?:[[:xdigit:]]{2}\2){4}[[:xdigit:]]{2})$#s', '/vendorLookup/search/aa:aa:aa:aa:aa:aa', $match); var_dump($match);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/iikJZ
function name:  (null)
number of ops:  9
compiled vars:  !0 = $match
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'preg_match'
          1        SEND_VAL                                                 '%23%5E%2FvendorLookup%2Fsearch%2F%28%3FP%3Cmac%3E%28%3F%3A%5B%5B%3Axdigit%3A%5D%5D%7B2%7D%28%5B-%3A%5D%29%29%28%3F%3A%5B%5B%3Axdigit%3A%5D%5D%7B2%7D%5C2%29%7B4%7D%5B%5B%3Axdigit%3A%5D%5D%7B2%7D%29%24%23s'
          2        SEND_VAL                                                 '%2FvendorLookup%2Fsearch%2Faa%3Aaa%3Aaa%3Aaa%3Aaa%3Aaa'
          3        SEND_REF                                                 !0
          4        DO_ICALL                                                 
    4     5        INIT_FCALL                                               'var_dump'
          6        SEND_VAR                                                 !0
          7        DO_ICALL                                                 
          8      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.61 ms | 1394 KiB | 17 Q