Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在 PHP 中使用 Twilio 的 rest lib 并拨打电话。我可以立即获得 callid,即:
$callout = $twilioclient->account->calls->create($client, $phone, $callurl, array("Method"=>"GET")); $newcallsid=$callout->callsid;
它似乎不起作用,但我可能做错了什么。
在此先感谢您的帮助。
更改callsid为sid
callsid
sid
echo $callout->sid;
您应该能够通过回显它来查看对象的所有属性
echo $callout