-
$table = new Swoole\Table(1024);
$table->column('name', Swoole\Table::TYPE_STRING, 64);
$table->column('id', Swoole\Table::TYPE_INT, 4); //1,2,4,8
$table->column('num', Swoole\Table::TYPE_F…
-
```
In file included from /tmp/pear/temp/openswoole/ext-src/swoole_curl.cc:17:
/tmp/pear/temp/openswoole/ext-src/php_swoole_curl.h:25:10: fatal error: curl/curl.h: No such file or directory
25 |…
-
I am trying to run this command inside a php image
```
octane:
type: php:8.1
via: cli
command: php artisan octane:start --server=swoole --host=0.0.0.0 --port=80
environment:
…
-
是否考虑集成php,比如swoole的hyperf或者workerman的webman,php的GUI开发生态严重欠缺
-
According to the [documentation for `\Swoole\Server::getClientInfo()`](https://openswoole.com/docs/modules/swoole-server-getClientInfo#data-information), the return array will contain the client's SSL…
-
I copied the Dockerfile and built it as instructed on https://openswoole.com/docs/get-started/try-docker
Upon build, I got the error:
```
#0 21.41 g++ -I. -I/tmp/ext-openswoole -I/tmp/ext-opensw…
-
# Bug report
- Version:vercel-php@0.5.4 and vercel-php@0.6.1 both tested.
- URL: https://xbot-febc-git-preview-rly.vercel.app/
- Repository: https://github.com/guoxiangke/xbot-febc/commit/4e674…
-
1. Please provide your PHP and Swoole version. (`php -v` and `php --ri swoole`)
PHP Version 7.3.16
swoole 4.5.7
2. Please provide your Laravel/Lumen version.
laravel v5.5.48
3. Which rele…
-
有很多场景,我们希望不修改 PHP 代码就可以注入一些 Hook 函数到`Server`或`Client`中。使用`Hook`机制就可以支持这些功能。
> `Hook API`将加入`Runtime`模块。
API
====
```php
function Runtime::addHook(int $hook_type, callable $function, int $prio…
-
PHP 7.4
easyswoole/easyswoole 3.4.2
ext-swoole 4.6.x
ext-inotify 3
PHP Deprecated: Swoole\Event::rshutdown(): Event::wait() in shutdown function is deprecated in Unknown on line 0
```
priv…