php what type of variable is it code example Example: php what type of variable is it echo gettype($var1)."\n"; echo gettype($var2)."\n"; echo gettype($var3)."\n";