3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php function test($tel) { return preg_match('^(\+44\s?7\d{3}|\(?07\d{3}\)?)\s?\d{3}\s?\d{3}$') === false; } var_dump(test('0204567876'));
Output for 5.3.18 - 7.2.0
Warning: preg_match() expects at least 2 parameters, 1 given in /in/VMhIs on line 5 bool(true)