src/Str.php
public function reverse() {
		if (preg_match_all('/./us', $this->rawString, $matches)) {
			$rawString = join('', array_reverse($matches[0]));

			return new static($rawString, $this->charset);
		}
		else {
			return $this;
		}
	}
public function reverse() {
		if (preg_match_all('/./us', $this->rawString, $matches)) {
			$rawString = join('', array_reverse($matches[0]));

			return new static($rawString, $this->charset);
		}
		else {
			return $this;
		}
	}
public function reverse ( ) { if ( preg_match_all ( '/./us' , $ this -> rawString , $ matches ) ) { $ rawString = join ( '' , array_reverse ( $ matches [ 0 ] ) ) ; return new static ( $ rawString , $ this -> charset ) ; } else { return $ this ; } }
Reverses this string

@return static a new instance of this class
Reverses this string