PHP 获取 JSON 数据中的 "ctrl" 字段
要获取返回值中的"ctrl",可以通过以下方式写代码:\n\n$res = file_get_contents("https://invite.playgamesslots.com/shareinvite/Tongji/PlayerInfo?id=6335517416");\n$res = json_decode($res, true);\n$ctrl = $res['ctrl'];\n\n其中,$res['ctrl']表示返回值中的"ctrl"字段。
原文地址: https://www.cveoy.top/t/topic/p7hB 著作权归作者所有。请勿转载和采集!