February 2013
Intermediate to advanced
538 pages
20h 55m
English
settype
bool settype(mixedvalue, stringtype)
Converts value to the given
type. Possible types are "boolean", "integer", "float", "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.
Read now
Unlock full access