These results are based on our legacy PHP analysis, consider migrating to our new PHP analysis engine instead. Learn more
1 | <?php |
||
2 | /** |
||
3 | * 获取好友QQ号. |
||
4 | */ |
||
5 | use Slince\SmartQQ\Client; |
||
6 | |||
7 | include __DIR__.'/bootstrap.php'; |
||
8 | |||
9 | //创建smartQQ客户端 |
||
10 | $smartQQ = new Client(getCredential()); |
||
11 | |||
12 | $friend = $smartQQ->getFriends()->first(); |
||
13 | |||
14 | //获取用户的QQ号 |
||
15 | $qq = $smartQQ->getFriendQQ($friend); |
||
0 ignored issues
–
show
|
|||
16 | |||
17 | printR($qq); |
||
18 | printR($friend->getQq()); |
This method has been deprecated. The supplier of the class has supplied an explanatory message.
The explanatory message should give you some clue as to whether and when the method will be removed from the class and what other method or class to use instead.