public function compare($compare, callable $callback = null) {
		if ($callback === null) {
			$callback = 'strcmp';
		}
		return $callback($this->string, (string) $compare);
	}
public function compare($compare, callable $callback = null) {
		if ($callback === null) {
			$callback = 'strcmp';
		}
		return $callback($this->string, (string) $compare);
	}
public function compare ( $ compare , callable $ callback = null ) { if ( $ callback === null ) { $ callback = 'strcmp' ; } return $ callback ( $ this -> string , ( string ) $ compare ) ; }
Compares this string to another

@param string $compare string to compare to
@param callable $callback
@return int
Compares this string to another