3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(preg_match('/}/', '}')); var_dump(preg_match('{}}', '}'));
Output for 4.3.11 - 7.2.0
int(1) Warning: preg_match(): Unknown modifier '}' in /in/oaFcn on line 5 bool(false)
Output for 4.3.0 - 4.3.10
int(1) Warning: Unknown modifier '}' in /in/oaFcn on line 5 bool(false)