original_string: 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;
  	}
code: 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;
  	}
code_tokens: 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 ; }
docstring: Check if a phone number has at least 8 numbers.
  
  <p>Really rough guesstimate.</p>
  
  @param $telephone
  
  @return bool
docstring_tokens: Check if a phone number has at least 8 numbers .