I hereby claim:
- I am danielbentes on github.
- I am danielbentes (https://keybase.io/danielbentes) on keybase.
- I have a public key whose fingerprint is 7001 F21C BA6E 704B F548 DDB1 812D 2116 1012 BF34
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| /** | |
| * Check if a phone number is valid | |
| * | |
| * A valid phone number can only contain numbers and these characters: +-() | |
| * | |
| * @param string $number Phone Number | |
| * @param string $prefix Calling prefix (optional) | |
| * @return boolean TRUE if Valid, FALSE if Invalid | |
| */ | |
| public static function isValidPhoneNumber($number, $prefix = false) { |