3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?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);
based on 10osR
Output for 7.3.0alpha1
Warning: preg_match_all(): Compilation failed: quantifier does not follow a repeatable item at offset 56 in /in/gGKsV on line 6 NULL
Output for 7.0.0 - 7.2.6
Warning: preg_match_all(): Compilation failed: nothing to repeat at offset 56 in /in/gGKsV on line 6 NULL
Output for hhvm-3.12.14 - 3.17.3
Warning: Compilation failed: nothing to repeat at offset 56 in /in/gGKsV on line 7 NULL
Output for 5.6.0 - 5.6.30
Warning: preg_match_all(): Compilation failed: nothing to repeat at offset 56 in /in/gGKsV on line 7 NULL