src/ADT/String.php
public function toUpperCase( $firstOnly = FALSE )
	{
		$oldString		= $this->string;
		$method			= $firstOnly ? "ucfirst" : "strtoupper";
		$this->string	= call_user_func( $method, $this->string );
		return $this->string !== $oldString;
	}
public function toUpperCase( $firstOnly = FALSE )
	{
		$oldString		= $this->string;
		$method			= $firstOnly ? "ucfirst" : "strtoupper";
		$this->string	= call_user_func( $method, $this->string );
		return $this->string !== $oldString;
	}
public function toUpperCase ( $ firstOnly = FALSE ) { $ oldString = $ this -> string ; $ method = $ firstOnly ? "ucfirst" : "strtoupper" ; $ this -> string = call_user_func ( $ method , $ this -> string ) ; return $ this -> string !== $ oldString ; }
Changes all lower case characters to upper case.
@param		bool		Only change first letter (=ucfirst)
@return		bool		At least 1 character has been changed
@see		http://www.php.net/manual/en/function.strtoupper.php
@see		http://www.php.net/manual/en/function.ucfirst.php
Changes all lower case characters to upper case .