Get string value of a variable (original) (raw)
Description
strval ( mixed $var
) : string
Get the string value of a variable. See the documentation on string for more information on converting to string.
This function performs no formatting on the returned value. If you are looking for a way to format a numeric value as a string, please see sprintf() or number_format().