Answers for "how to convert an integer to string in php"

PHP
14

integer to string php

return strval($integer);
Posted by: Guest on April-06-2020
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

Code answers related to "how to convert an integer to string in php"

Browse Popular Code Answers by Language