Funkcja gettype()

'; $b='jakis tekst'; echo 'zmienna jest typu '.gettype($b).'
'; unset($b); echo 'zmienna jest typu '.gettype($b); ?>