Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
strval

strval

(PHP 3, PHP 4, PHP 5)

strval -- Get string value of a variable

Description

string strval ( mixed var )

Returns the string value of var. See the documentation on string for more information on converting to string.

var may be any scalar type. You cannot use strval() on arrays or objects.

See Also

floatval()
intval()
settype()
Type juggling