This commit is contained in:
as2252258@163.com
2021-03-26 01:29:24 +08:00
parent 8b57da2ba5
commit 93f29fa074
2 changed files with 544 additions and 540 deletions
+1
View File
@@ -200,6 +200,7 @@ class Crontab extends BaseObject
public function execute(): void
{
try {
var_dump($this->handler);
call_user_func($this->handler, $this->params, $this->name);
} catch (\Throwable $throwable) {
$this->addError($throwable->getMessage());
+3
View File
@@ -690,6 +690,9 @@ if (!function_exists('swoole_unserialize')) {
*/
function swoole_unserialize($data): mixed
{
if (empty($data)) {
return null;
}
if (class_exists('swoole_serialize')) {
return \swoole_serialize::unpack($data);
} else {