PHP » GoLang |
login |
register |
about
|
strval(PHP 4, PHP 5, PHP 7) strval — Get string value of a variable DescriptionGet 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(). Parameters
Return Values
The string value of Examples
Example #1 strval() example using PHP 5's magic __toString() method.
<?php See Also
|
more
Recently updated
more
Most requested
more
Last requests
|