Answers for "php know variable type"

PHP
0

get type of variable php

$var = 1200;
gettype($var); // this will return integer
Posted by: Guest on January-04-2022
5

check type in php

gettype ( mixed $var ) : string
Posted by: Guest on February-22-2020

Code answers related to "php know variable type"

Browse Popular Code Answers by Language