mcaskill/php-is-var-empty (packagist): Determine whether a variable or object is empty.
Keywords: function