public static function isValidTelephoneNumber($telephone){

		$numbers = str_split($telephone);
		$nums = [];

		foreach($numbers as $number){

			if(ctype_digit($number)){

				$nums[] = $number;
			}
		}

		if(count($nums) > 8){

			return true;
		}

		return false;
	}
public static function isValidTelephoneNumber($telephone){

		$numbers = str_split($telephone);
		$nums = [];

		foreach($numbers as $number){

			if(ctype_digit($number)){

				$nums[] = $number;
			}
		}

		if(count($nums) > 8){

			return true;
		}

		return false;
	}
public static function isValidTelephoneNumber ( $ telephone ) { $ numbers = str_split ( $ telephone ) ; $ nums = [ ] ; foreach ( $ numbers as $ number ) { if ( ctype_digit ( $ number ) ) { $ nums [ ] = $ number ; } } if ( count ( $ nums ) > 8 ) { return true ; } return false ; }
Check if a phone number has at least 8 numbers.

<p>Really rough guesstimate.</p>

@param $telephone

@return bool
Check if a phone number has at least 8 numbers .