3v4l.org

run code in 300+ PHP versions simultaneously
<?php $filePath = '/cv/67/6d/676d33634d07b95da37715d98575175f.dox'; preg_match('/cv\/[0-9a-z]{2}\/[0-9a-z]{2}\/[0-9a-z]{32}\.(?:text|html|doc|docx|xls|xlsx|mht|pdf)/is', $filePath, $result); print_r($result);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/SujId
function name:  (null)
number of ops:  10
compiled vars:  !0 = $filePath, !1 = $result
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '%2Fcv%2F67%2F6d%2F676d33634d07b95da37715d98575175f.dox'
    5     1        INIT_FCALL                                               'preg_match'
          2        SEND_VAL                                                 '%2Fcv%5C%2F%5B0-9a-z%5D%7B2%7D%5C%2F%5B0-9a-z%5D%7B2%7D%5C%2F%5B0-9a-z%5D%7B32%7D%5C.%28%3F%3Atext%7Chtml%7Cdoc%7Cdocx%7Cxls%7Cxlsx%7Cmht%7Cpdf%29%2Fis'
          3        SEND_VAR                                                 !0
          4        SEND_REF                                                 !1
          5        DO_ICALL                                                 
    7     6        INIT_FCALL                                               'print_r'
          7        SEND_VAR                                                 !1
          8        DO_ICALL                                                 
          9      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
168.77 ms | 1397 KiB | 18 Q