Validating phone numbers in php