mcaskill/php-is-var-empty
Composer 安装命令:
composer require mcaskill/php-is-var-empty
包简介
Determine whether a variable or object is empty.
关键字:
README 文档
README
(PHP 5 >= 5.4)
is_var_empty — Determine whether a variable or object is empty.
Description
boolean is_var_empty( mixed $var )
Alternative to empty() which will resolve stringable and arrayable objects.
Parameters
var— The value to be checked.
Return Values
Returns FALSE if var exists and has a non-empty value. Otherwise returns TRUE.
Installation
With Composer
$ composer require mcaskill/php-is-var-empty
Without Composer
Why are you not using composer? Download Function.Is-Var-Empty.php from the gist and save the file into your project path somewhere.
统计信息
- 总下载量: 10
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2017-02-23