This commit is contained in:
2020-11-01 04:36:31 +08:00
parent 351128b0d9
commit b303c5d88f
+3 -1
View File
@@ -66,7 +66,9 @@ class OnReceive extends Callback
*/
public function onHandler(\Swoole\Server $server, $fd, $data)
{
var_dump($fd, $data);
$args = func_get_args();
array_shift($args);
var_dump($args, func_num_args());
try {
$client = [$fd];
if (empty($data = $this->unpack($data))) {