3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(preg_match('^[\+]?[()/0-9. -]{9,}$', '606932687', $matches));
based on U9rPG
Output for 5.6.0 - 5.6.30, 7.0.0 - 7.3.1
Warning: preg_match(): No ending delimiter '^' found in /in/0T6c8 on line 3 bool(false)
Output for hhvm-3.15.4
Warning: No ending delimiter '^' found: [^[\+]?[()/0-9. -]{9,}$] in /in/0T6c8 on line 3 bool(false)