gettype()
Returns a string value representing the data type of a variable
$name = "Adam";
$age = 1000;
echo gettype($name); // Prints: string
echo gettype($age); // Prints: integer
if (gettype($name) === "string")
var_dump()
Prints details about the variable it is given
var_dump($name); // Prints: string(4) "Adam"
Feel free to comment if you can add help to this page or point out issues and solutions you have found. I do not provide support on this site, if you need help with a problem head over to stack overflow.