settype
bool settype(mixed var,string datatype)
Set the datatype of a variable to another type
Return TRUE on success and FALSE on failure
$foo = “5bar”; // string
$bar = true; // boolean
settype($foo, “integer”); // $foo is now 5 (integer)
settype($bar, “string”); // $bar is now “1″ (string)
