How to validate a variable is phone number in Php?