data type checking php

PHP
gettype($u)
Source

Also in PHP: