Answers for "php turn integer into string"

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 "php turn integer into string"

Browse Popular Code Answers by Language