Php code for validating phone number