3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php testCode('IZM_0126_B'); function testCode($code) { echo preg_match('/(*UTF8)^(([A-ZĀČĒĢĪĶĻŅŠŪŽ\/]{2,12})_(0[1-9]|1[012])(0[1-9]|[12][0-9]|3[01])_([A-D]([1-9])?))$/', $code); }
Output for 5.2.10 - 7.1.0
1
Output for 4.4.9, 5.2.5 - 5.2.9
Warning: preg_match(): Compilation failed: (*VERB) not recognized at offset 5 in /in/Df2fr on line 6
Output for 4.3.11 - 4.4.8, 5.0.0 - 5.2.4
Warning: preg_match(): Compilation failed: nothing to repeat at offset 1 in /in/Df2fr on line 6
Output for 4.3.0 - 4.3.10
Warning: Compilation failed: nothing to repeat at offset 1 in /in/Df2fr on line 6