3v4l.org

run code in 300+ PHP versions simultaneously
<?php $file = '0004f21edd14-boot.cfg'; echo preg_match('^0004f2([a-fA-F0-9]{6})-(?:boot\.cfg|app\.log|now-boot\.log)$', $file, $d); print_r($d);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/5PfYB
function name:  (null)
number of ops:  11
compiled vars:  !0 = $file, !1 = $d
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, '0004f21edd14-boot.cfg'
    3     1        INIT_FCALL                                               'preg_match'
          2        SEND_VAL                                                 '%5E0004f2%28%5Ba-fA-F0-9%5D%7B6%7D%29-%28%3F%3Aboot%5C.cfg%7Capp%5C.log%7Cnow-boot%5C.log%29%24'
          3        SEND_VAR                                                 !0
          4        SEND_REF                                                 !1
          5        DO_ICALL                                         $3      
          6        ECHO                                                     $3
    4     7        INIT_FCALL                                               'print_r'
          8        SEND_VAR                                                 !1
          9        DO_ICALL                                                 
         10      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.32 ms | 1385 KiB | 17 Q