3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<? echo preg_match('~[0-9a-zA-Z]~+', '&'); ?>
based on vDFRu
Output for 5.4.34 - 5.6.28, 7.0.0 - 7.1.0
Warning: preg_match(): Unknown modifier '+' in /in/6UR1u on line 3
Output for hhvm-3.10.0 - 3.12.0
Warning: Unknown modifier '+': [~[0-9a-zA-Z]~+] in /in/6UR1u on line 3
Output for 4.3.0 - 5.4.32
<? echo preg_match('~[0-9a-zA-Z]~+', '&'); ?>