original_string: public function say() {
  		
  		// set a color
  		$colors       = array("ok","options","info","warning");
  		$randomNumber = rand(0,count($colors)-1);
  		$color        = (isset($colors[$randomNumber])) ? $colors[$randomNumber] : "desc";
  		
  		// set a 1 in 3 chance that a saying is printed
  		$randomNumber = rand(0,(count($this->sayings)-1)*3);
  		if (isset($this->sayings[$randomNumber])) {
  			Console::writeLine("<".$color.">".$this->sayings[$randomNumber]."...</".$color.">");
  		}
  		
  	}
code: public function say() {
  		
  		// set a color
  		$colors       = array("ok","options","info","warning");
  		$randomNumber = rand(0,count($colors)-1);
  		$color        = (isset($colors[$randomNumber])) ? $colors[$randomNumber] : "desc";
  		
  		// set a 1 in 3 chance that a saying is printed
  		$randomNumber = rand(0,(count($this->sayings)-1)*3);
  		if (isset($this->sayings[$randomNumber])) {
  			Console::writeLine("<".$color.">".$this->sayings[$randomNumber]."...</".$color.">");
  		}
  		
  	}
code_tokens: public function say ( ) { // set a color $ colors = array ( "ok" , "options" , "info" , "warning" ) ; $ randomNumber = rand ( 0 , count ( $ colors ) - 1 ) ; $ color = ( isset ( $ colors [ $ randomNumber ] ) ) ? $ colors [ $ randomNumber ] : "desc" ; // set a 1 in 3 chance that a saying is printed $ randomNumber = rand ( 0 , ( count ( $ this -> sayings ) - 1 ) * 3 ) ; if ( isset ( $ this -> sayings [ $ randomNumber ] ) ) { Console :: writeLine ( "<" . $ color . ">" . $ this -> sayings [ $ randomNumber ] . "...</" . $ color . ">" ) ; } }
docstring: Randomly prints a saying after the generate is complete
docstring_tokens: Randomly prints a saying after the generate is complete