3v4l.org

run code in 300+ PHP versions simultaneously
<?php preg_match_all( '/(EX[0-9]{4}-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1]))(*)/', 'EX201705031321231', $matches, PREG_PATTERN_ORDER ); var_dump($matches);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/gGKsV
function name:  (null)
number of ops:  10
compiled vars:  !0 = $matches
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'preg_match_all'
    3     1        SEND_VAL                                                 '%2F%28EX%5B0-9%5D%7B4%7D-%280%5B1-9%5D%7C1%5B0-2%5D%29-%280%5B1-9%5D%7C%5B1-2%5D%5B0-9%5D%7C3%5B0-1%5D%29%29%28%2A%29%2F'
    4     2        SEND_VAL                                                 'EX201705031321231'
    5     3        SEND_REF                                                 !0
    6     4        SEND_VAL                                                 1
          5        DO_ICALL                                                 
    8     6        INIT_FCALL                                               'var_dump'
          7        SEND_VAR                                                 !0
          8        DO_ICALL                                                 
          9      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
174.63 ms | 1394 KiB | 17 Q