$unknownvar = "Hello World"; echo gettype ($unknownvar) . ""; if (is_string ($unknownvar)){ echo "Is a string"; } $mynumber = "1.03"; $mynumber = settype ($mynumber ,"integer"); echo $mynumber . ""; echo (int) $mynumber;?>