strval() function is used to convert any data type value of PHP into string value and will return string value.
Syntax
string strval(mixed $var)
Example
<?php
$var_name = 22.110;
echo strval ($var_name);
?>
string strval(mixed $var)
<?php
$var_name = 22.110;
echo strval ($var_name);
?>
0 comments:
Post a Comment