3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(preg_match('/(^a|^b)/', "b/"));
based on n0MU3
Output for 5.3.19 - 7.3.1
int(1)