-
# php code
```
$memcache = new Memcached('mc');
$memcache->setOption(Memcached::OPT_LIBKETAMA_COMPATIBLE, true);
$memcache->setOption(Memcached::OPT_NO_BLOCK, true);
$memcache->setOption(Memcache…
-
## 包版本号
3.6.3
## 问题描述
swoole下message吃数据 直接把steam变为空了
verify_wechat_sign(ResponseInterface|ServerRequestInterface $message,
$message->getBody和外面打印swoole的steam不同 到verify_wechat_sign方法里steam就变为空了…
-
现状
=====
由于`php`官方主流的`php-fpm`短生命周期存在很多限制,很多高级的用法在无法应用于`php`程序中。`swoole`支持常驻内存,应用程序可以使用更多高级的用法。
其中包管理`composer`的设计就是一个典型的例子。
碎片化
----
`vendor`目录必须中均为单个`php`的文件,`java`语言中所有的包均为`jar`,虽然`php`也提…
-
[2023-04-11 12:23:05][][error]:[array (
'handle' => 'ThrowableHandler::exceptionHandle',
'code' => 0,
'message' => 'controller pool empty for App\\Controller\\Logistics\\Job\\Logistics',
'…
-
执行模型创建脚本时报错
Call to a member function query() on string
Stack trace:
#0 /home/yvtang/easyswoole/vendor/easyswoole/fast-db/src/Commands/GenModelAction.php(43): EasySwoole\FastDb\Commands\GenModelAct…
-
![image](https://github.com/easy-swoole/fast-db/assets/22283930/7d007c30-ca7e-466f-95c5-54043c804149)
![image](https://github.com/easy-swoole/fast-db/assets/22283930/a6bfc0d3-bd48-4762-8dab-58df45f…
-
src/OpenPlatform/Base/Client.php
![image](https://user-images.githubusercontent.com/3337501/113103459-e3554080-9231-11eb-90f9-1d201616b6dc.png)
-
vendor\easyswoole\pay\src\WeChat\Utility.php
第129行调用toArray方法还是传2个参数
实际接受只有一个参数,
/**
* 转为数组时过滤空值
* @param array|null $columns
* @param null $filter
* @return array
*/…
-
## easyswoole框架版本号、orm组件版本号 [Version]
easyswoole: 3.4.1, orm: 1.4.40
## 问题描述和截图 [Question]
DbManager::getInstance()->isInTransaction($client); 返回的为false
## 排查情况和最小复现脚本 [Tests and Recurrence…
-
Annotation to verify whether a custom validator can be used, I have tried various methods but it is not good, if there is a document, because the existing verification function can not meet my needs, …