可能重复:
How do the equality (== double equals) and identity (=== triple equals) comparison operators differ?
Reference - What does this symbol mean in PHP?
php not equal to != and !==什么做!==和===在PHP中是什么意思?
什么!==
和===
运营商在此代码段?
if ($a !== null) // do something
if ($b === $a) // do something
http://www.php.net/manual/en/language.operators.comparison.php – mbeckish 2010-11-02 17:30:51
这真的很不幸,SO搜索引擎不适用于'===',因为这个问题每月会被询问一次。 – 2010-11-02 17:31:42
提供最好的答案之一作为评论xD – 2010-11-02 17:31:48