summaryrefslogtreecommitdiffhomepage
path: root/zh-cn
diff options
context:
space:
mode:
authorJakukyo Friel <weakish@gmail.com>2014-01-17 15:12:05 +0800
committerJakukyo Friel <weakish@gmail.com>2014-01-17 15:12:05 +0800
commitf47de5a0972de32050cd1fbc7be0ec8eb9f51636 (patch)
treecf53f1c3fe03fd24c3037fc2c635f84ca7742e1d /zh-cn
parent11f860fce6e8c4ba900769776068c49778d8c1dc (diff)
php:typo
Diffstat (limited to 'zh-cn')
-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..e29b6771 100644
--- a/zh-cn/php-cn.html.markdown
+++ b/zh-cn/php-cn.html.markdown
@@ -333,7 +333,7 @@ function my_function () {
echo my_function(); // => "Hello"
// 函数名需要以字母或者下划线开头,
-// 后面可以跟着任意的字幕、下划线、数字.
+// 后面可以跟着任意的字母、下划线、数字.
function add ($x, $y = 1) { // $y 是可选参数,默认值为 1
$result = $x + $y;