Answers for "conversion to string php"

PHP
2

php int to string

$number = 11;
// This
echo strval($number);
// Or This
echo (String) $number;
// Output
// "11"
// "11"
Posted by: Guest on October-29-2020
5

php to string

$number = 10;
// To convert this number to a string:
$numberString = (string)$number;
Posted by: Guest on October-30-2020

Code answers related to "conversion to string php"

Browse Popular Code Answers by Language