March 2002
Intermediate to advanced
528 pages
21h 29m
English
settype
bool settype(mixedvalue, stringtype)
Converts value to the given
type. Possible types are
"boolean", "integer",
"double", "string",
"array", and "object". Returns
true if the operation was successful and
false if not. Using this function is the same as
typecasting value to the appropriate type.