Answers for "type casting to str in php"

PHP
5

php to string

$number = 10;
// To convert this number to a string:
$numberString = (string)$number;
Posted by: Guest on October-30-2020
1

convert to string php

echo "'$animal'";
Posted by: Guest on January-27-2021

Browse Popular Code Answers by Language