Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 9dcd98b

Browse files
Merge pull request #13 from her-cat/fix_typo
Fix typo
2 parents 7771bd2 + 1808bb5 commit 9dcd98b

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

‎docs/协程基础模块/协程创建(一).md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,8 @@ static PHP_METHOD(study_coroutine_util, create);
125125
#define PHP_METHOD ZEND_METHOD
126126
#define ZEND_METHOD(classname, name) ZEND_NAMED_FUNCTION(ZEND_MN(classname##_##name))
127127
#define ZEND_MN(name) zim_##name
128-
#define ZEND_NAMED_FUNCTION(name) void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS)#define INTERNAL_FUNCTION_PARAMETERS zend_execute_data *execute_data, zval *return_value
128+
#define ZEND_NAMED_FUNCTION(name) void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS)
129+
#define INTERNAL_FUNCTION_PARAMETERS zend_execute_data *execute_data, zval *return_value
129130
```
130131

131132
所以,接口方法展开的内容如下:

‎docs/协程基础模块/协程创建(二).md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ _flags & ZEND_PARSE_PARAMS_THROW
103103

104104
是判断`flags`是否设置了`ZEND_PARSE_PARAMS_THROW`,如果设置了`ZEND_PARSE_PARAMS_THROW`,那么就抛出一个参数个数不对的异常,否则就报一个`error`
105105

106-
那么,如果`flags``ZEND_PARSE_PARAMS_QUIET`的话,及时参数个数传递错误,也不会报错。
106+
那么,如果`flags``ZEND_PARSE_PARAMS_QUIET`的话,即使参数个数传递错误,也不会报错。
107107

108108
## ZEND_PARSE_PARAMETERS_END_EX
109109

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /