setEndpoint("scf.tencentcloudapi.com"); $clientProfile = new ClientProfile(); $clientProfile->setHttpProfile($httpProfile); $client = new ScfClient($cred, "ap-guangzhou", $clientProfile); $req = new ListFunctionsRequest(); $params = '{}'; $req->fromJsonString($params); $resp = $client->ListFunctions($req); print_r($resp->toJsonString()); } catch(TencentCloudSDKException $e) { echo $e; }