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 );
Output for 8.2.0 - 8.2.17, 8.3.0 - 8.3.4
Warning: preg_match_all(): Compilation failed: quantifier does not follow a repeatable item at offset 56 in /in/10osR on line 2
Output for 7.3.0 - 7.3.33, 7.4.0 - 7.4.33, 8.0.0 - 8.0.30, 8.1.0 - 8.1.27
Warning: preg_match_all(): Compilation failed: quantifier does not follow a repeatable item at offset 56 in /in/10osR on line 6
Output for 7.0.0 - 7.0.33, 7.1.0 - 7.1.33, 7.2.0 - 7.2.33
Warning: preg_match_all(): Compilation failed: nothing to repeat at offset 56 in /in/10osR on line 6
Output for 5.6.0 - 5.6.40
Warning: preg_match_all(): Compilation failed: nothing to repeat at offset 56 in /in/10osR on line 7

preferences:
193.29 ms | 401 KiB | 286 Q