3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(preg_match('/^\s{0}.*{1,80}\s{0}$/u', 'keyword'));
Output for 7.3.0alpha1 - 7.3.0rc4
Warning: preg_match(): Compilation failed: quantifier does not follow a repeatable item at offset 13 in /in/5t12t on line 3 bool(false)
Output for 4.3.11 - 7.2.6
Warning: preg_match(): Compilation failed: nothing to repeat at offset 13 in /in/5t12t on line 3 bool(false)
Output for 4.3.0 - 4.3.10
Warning: Compilation failed: nothing to repeat at offset 13 in /in/5t12t on line 3 bool(false)