3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php //$phone = 841657196818; $phone = 841267337430; if(preg_match("/^[1-9]{2}[0-9]{8,10}$/", $phone)) { echo "$phone Valid"; } else { echo "$phone Invalid."; }
based on OnCHi
Output for 4.3.0 - 7.2.0
841267337430 Valid