Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

Convert an Integer Into a String in PHP

phpCopy<?php  
$variable = 10;
$string1 = (string)$variable;
echo "The variable is converted to a string and its value is $string1.";  
?>
Source by www.delftstack.com #
 
PREVIOUS NEXT
Tagged: #Convert #Integer #Into #String #PHP
ADD COMMENT
Topic
Name
9+3 =