settype

settype -- Set the type of a variable

Description

bool settype ( mixed var, string type)



Returns TRUE if successful ; otherwise returns FALSE .

דוגמה 1 . settype( ) example