3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php var_dump(preg_match("/\bweb\b/i", "PHP is the web scripting language of choice.",$b,0,1000));
Output for 5.3.6 - 7.1.0
bool(false)
Output for 4.3.3 - 5.3.5
int(0)
Output for 4.3.0 - 4.3.2
Warning: Wrong parameter count for preg_match() in /in/Eg96P on line 2 NULL