Home >php教程 >php手册 >PHP判断是否为空的几个函数对比

PHP判断是否为空的几个函数对比

WBOY
WBOYOriginal
2016-06-06 20:05:071188browse

这篇文章主要介绍了PHP判断是否为空的几个函数对比,本文讲解了gettype()、empty()、is_null()、isset()等几个函数在不同变量下的返回值情况,需要的朋友可以参考

直接上图表~~:

PHP判断是否为空的几个函数对比

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn