summaryrefslogtreecommitdiffhomepage
path: root/zh-cn/php-cn.html.markdown
diff options
context:
space:
mode:
authorJakukyo Friel <weakish@gmail.com>2014-01-17 14:47:54 +0800
committerJakukyo Friel <weakish@gmail.com>2014-01-17 14:47:54 +0800
commitd2a34d3390e131f738f6f54b95a1101966f4ea5d (patch)
treeb9a421f74d1745f3e3ea08b2b6b4e1f043db6b3f /zh-cn/php-cn.html.markdown
parent11f860fce6e8c4ba900769776068c49778d8c1dc (diff)
php: typo
Diffstat (limited to 'zh-cn/php-cn.html.markdown')
-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');
// 变量可以根据其使用来进行类型转换