Compability for PHP < 5.5 with limitation to empty()
Ref: http://us3.php.net/empty#refsect1-function.empty-parameters