Init Repo

This commit is contained in:
root
2019-09-06 23:53:10 +08:00
commit f0ef89dfbb
7905 changed files with 914138 additions and 0 deletions

21
vendor/swoole/tests/include/redis/bug_03.php vendored Executable file
View File

@ -0,0 +1,21 @@
<?php
go(function () use ($redis) {
$redis = new co\Redis();
$redis->connect('127.0.0.1', 6379);
go(function () use ($redis) {
var_dump($redis->get("key"));
});
go(function() use ($redis) {
co::sleep(1);
var_dump($redis->get("key"));
});
});