summaryrefslogtreecommitdiffhomepage
path: root/zh-cn
diff options
context:
space:
mode:
authorJakukyo Friel <weakish@gmail.com>2014-01-17 16:26:36 +0800
committerJakukyo Friel <weakish@gmail.com>2014-01-17 16:26:36 +0800
commitbc1571fe271b0a4823a564a303ddc08bf570c12b (patch)
treeaa200bf84ce43036b9e08ac73983a683b2d81a84 /zh-cn
parentb29e3754fb02498ae89cf48c416b4d5e1964b44d (diff)
parentf47de5a0972de32050cd1fbc7be0ec8eb9f51636 (diff)
Merge branch 'patch-4' of github.com:weakish/learnxinyminutes-docs
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 8a34213c..24939681 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;