settype

(PHP 3, PHP 4 >= 4.0.0)

settype -- Set the type of a variable

Description

int settype (string var, string type)

Set the type of variable var to type.

Possibles values of type are:

Returns TRUE if successful; otherwise returns FALSE.

See also gettype().