0
PHP:Data-type of variable
Does PHP have any inbuilt function which gives the data type of variable
2 Answers
+ 4
You can use the function gettype().
Example (PHP):
$the_Variable = "Theory";
echo gettype($the_Variable);
# Outputs string
+ 1
Thanks mate