<?php
$telefone = "11111111111";
echo "Inválido! Possui somente um tipo de número.";
//return false;
}
echo PHP_EOL;
$telefone = "11111222222";
echo "Inválido! Possui somente um tipo de número.";
return false;
}else{
echo "OK! Possui mais de um tipo de número.";
}
PD9waHAKCiR0ZWxlZm9uZSA9ICIxMTExMTExMTExMSI7IAppZiggY291bnQoYXJyYXlfdW5pcXVlKHN0cl9zcGxpdCgkdGVsZWZvbmUpKSkgPT0gMSApewogICAgZWNobyAiSW52w6FsaWRvISBQb3NzdWkgc29tZW50ZSB1bSB0aXBvIGRlIG7Dum1lcm8uIjsKICAgIC8vcmV0dXJuIGZhbHNlOwp9CgplY2hvIFBIUF9FT0w7CgokdGVsZWZvbmUgPSAiMTExMTEyMjIyMjIiOyAKaWYoIGNvdW50KGFycmF5X3VuaXF1ZShzdHJfc3BsaXQoJHRlbGVmb25lKSkpID09IDEgKXsKICAgIGVjaG8gIkludsOhbGlkbyEgUG9zc3VpIHNvbWVudGUgdW0gdGlwbyBkZSBuw7ptZXJvLiI7CiAgICByZXR1cm4gZmFsc2U7Cn1lbHNlewogICAgZWNobyAiT0shIFBvc3N1aSBtYWlzIGRlIHVtIHRpcG8gZGUgbsO6bWVyby4iOwp9Cg==