Answers for "Conversion of Number 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
0

php object to string

__toString() & {$this->name}
Posted by: Guest on June-27-2020

Code answers related to "Conversion of Number to String php"

Browse Popular Code Answers by Language