Answers for "cast string php"

PHP
43

php string to int

intval($string);
Posted by: Guest on February-20-2020
5

php to string

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

Browse Popular Code Answers by Language