3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = '00:18:71:EC:38:58/072b8d45-895d-4d9d-9adb-e1502d6821d9.xml'; preg_match('/^(([0-9A-F]{2}[:-]){5}[0-9A-F]{2})+[\/]+([0-9a-z-]+[.]+[a-z]{3})$/', $str, $match); var_dump($match);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/aroFL
function name:  (null)
number of ops:  10
compiled vars:  !0 = $str, !1 = $match
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, '00%3A18%3A71%3AEC%3A38%3A58%2F072b8d45-895d-4d9d-9adb-e1502d6821d9.xml'
    3     1        INIT_FCALL                                               'preg_match'
          2        SEND_VAL                                                 '%2F%5E%28%28%5B0-9A-F%5D%7B2%7D%5B%3A-%5D%29%7B5%7D%5B0-9A-F%5D%7B2%7D%29%2B%5B%5C%2F%5D%2B%28%5B0-9a-z-%5D%2B%5B.%5D%2B%5Ba-z%5D%7B3%7D%29%24%2F'
          3        SEND_VAR                                                 !0
          4        SEND_REF                                                 !1
          5        DO_ICALL                                                 
    4     6        INIT_FCALL                                               'var_dump'
          7        SEND_VAR                                                 !1
          8        DO_ICALL                                                 
          9      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
161.41 ms | 1394 KiB | 17 Q