提交 685bb19d 编写于 作者: C codinghuang

update the test.php

上级 f47fefa2
......@@ -6,4 +6,8 @@ function task($a, $b)
echo $b . PHP_EOL;
}
Study\Coroutine::create('task', 'a', 'b');
\ No newline at end of file
Study\Coroutine::create('task', 'a', 'b');
Study\Coroutine::create(function ($a, $b) {
echo $a . PHP_EOL;
echo $b . PHP_EOL;
}, 'a', 'b');
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册