Merge branch 'patch-2' of github.com:weakish/learnxinyminutes-docs

This commit is contained in:
Jakukyo Friel 2014-01-17 16:26:13 +08:00
commit 67d090ab4b

View File

@ -180,7 +180,7 @@ assert($c >= $d);
// 下面的比较只有在类型相同、值相同的情况下才为真
assert($c === $d);
assert($a !== $d);
assert(1 == '1');
assert(1 === '1');
assert(1 !== '1');
// 变量可以根据其使用来进行类型转换