3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $pattern = '/[^\w]culo\s/'; if (preg_match($pattern, 'I am bored on saturday, I will lear programing')) { echo 'Bored is present'; } else { echo 'Not bored string'; }
Output for 4.3.0 - 7.1.0
Not bored string