Skip to content

Commit 87c61fa

Browse files
authored
移除return
1 parent 5df4c49 commit 87c61fa

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

book/chapt11/11-02-00-extension-hello-world.markdown

-1
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,6 @@ PHP 源代码目录中提供了一个可执行文件 `ext/ext_skel`,该文件
132132

133133
ZVAL_STRING(return_value, result);
134134
efree(result);
135-
return;
136135
}
137136

138137
其中 `zend_parse_parameters` 从我们在原型中定义的参数 `name` 中获取传入的字符串,分配内存之后保存在指针 `*name`中, `name_len` 为传入字符串的长度。

0 commit comments

Comments
 (0)