? From: http://www.cnblogs.com/mrray/archive/2011/05/18/2050233.html
Strtoupper ($string);//Change All caps
Strtolower ($string);//Change All lowercase
Ucwords ($string);//capitalize the first letter of the word
The Strrpos () function finds the position of the last occurrence of a string in another string. [String,]
PHP's data type conversions are cast, and the PHP data types that are allowed to be converted are:
(int), (integer): Converted to shape (float), (double), (real): converted to floating point (string): Converted to a string (bool), (Boolean): Converted to a Boolean type (array): Convert an array (object): Convert to Object
There are three ways to convert PHP data types:
Use the common type conversion function Settype (Intval (), Floatval (), Strval () to convert the variable you want to convert, and the target type enclosed in parentheses using a conversion function of 3 specific types (mixed var,string type)
First conversion Mode: (int) (bool) (float) (string) (array) (object)
Second mode of conversion: Intval () floatval () Strval ()
The third mode of conversion: Settype ();