Answers for "check type of variabke php"

PHP
2

php what type of variable is it

echo gettype($var1)."\n"; 
echo gettype($var2)."\n"; 
echo gettype($var3)."\n";
Posted by: Guest on March-09-2021
0

get type of variable php

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

Browse Popular Code Answers by Language