Skip to content

Instantly share code, notes, and snippets.

Daniel Bentes danielbentes

Block or report user

Report or block danielbentes

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View keybase.md

Keybase proof

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:

View validateme
/**
* 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) {
You can’t perform that action at this time.