3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $string = 'hello world, world!'; var_dump(preg_match('/\Gworld/', $string, $matches, 0, 6));
based on 7Q3Ai
Output for 4.3.3 - 7.2.0
int(1)
Output for 4.3.0 - 4.3.2
Warning: Wrong parameter count for preg_match() in /in/JnMvP on line 5 NULL