(PHP 3, PHP 4 >= 4.0.0)
int settype
Establece el tipo de la varible var como type.
Los valores posibles para type son:
"integer"
"double"
"string"
"array"
"object"
Devuelve TRUE si se lleva a cabo con éxito; en otro caso devuelve FALSE.
Ver también gettype().