Home >Backend Development >PHP Tutorial >PHP 里 ,if(NULL>'')和if('a'>'')返回ture或false?

PHP 里 ,if(NULL>'')和if('a'>'')返回ture或false?

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOriginal
2016-06-20 12:25:491309browse

PHP 里 ,if(NULL>'')和if('a'>'')返回ture或false?


回复讨论(解决方案)

NULL>''  是假(false)
'a'>'' 是真(true)

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