kickUser($appId, $roomName, $userId); if ($err !== null) { var_dump($err); } else { echo "\n====> Kick User $userId Successfully \n"; }