Answers for "how to comvert numerics into string in 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

Convert an Integer Into a String in PHP

phpCopy<?php  
$variable = 10;
echo "The variable is converted to a string and its value is $variable.";  
?>
Posted by: Guest on April-23-2021

Code answers related to "how to comvert numerics into string in php"

Browse Popular Code Answers by Language