3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $a = preg_match('(test|jajko)', 'bardzo_jajko_fajne'); var_dump($a);
based on vumJb
Output for 4.3.0 - 7.1.0
int(1)