Answers for "to check data type of variable in php method is used"

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
1

how to find datatype of a variable in php

<?php
$a = 3;
echo gettype($a);
?>
Posted by: Guest on February-23-2022
5

check type in php

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

Code answers related to "to check data type of variable in php method is used"

Browse Popular Code Answers by Language