summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJakukyo Friel <weakish@gmail.com>2014-01-17 16:26:13 +0800
committerJakukyo Friel <weakish@gmail.com>2014-01-17 16:26:13 +0800
commit67d090ab4b6e69fa2838ec5fe13dd58178340789 (patch)
tree9f7219bec7c9f5b2729c4812c80fda609fa5856b
parentae892c802cbd2d62cd205fabe36f303f326683b9 (diff)
parentd2a34d3390e131f738f6f54b95a1101966f4ea5d (diff)
Merge branch 'patch-2' of github.com:weakish/learnxinyminutes-docs
-rw-r--r--zh-cn/php-cn.html.markdown2
1 files changed, 1 insertions, 1 deletions
diff --git a/zh-cn/php-cn.html.markdown b/zh-cn/php-cn.html.markdown
index c6ebb515..c22d8e12 100644
--- a/zh-cn/php-cn.html.markdown
+++ b/zh-cn/php-cn.html.markdown
@@ -180,7 +180,7 @@ assert($c >= $d);
// 下面的比较只有在类型相同、值相同的情况下才为真
assert($c === $d);
assert($a !== $d);
-assert(1 == '1');
+assert(1 === '1');
assert(1 !== '1');
// 变量可以根据其使用来进行类型转换