【发布时间】:2018-03-06 22:04:48
【问题描述】:
我有一个属性protected $connection。这是ftp_connect 的结果。我想为它添加 phpdoc。但我不知道它的类型。我试图转储它,结果是FTP buffer resource。 gettype 结果就是 resource。有没有办法记录它?
【问题讨论】:
-
要提出 On Topic 问题,请阅读 What topics can I ask about 和 What topics to avoid 和 How to ask a good question 和 the perfect question 以及如何创建 Minimal, Complete and Verifiable Example
-
@RiggsFolly 你能说出这个问题有什么问题吗?如果您将我链接到资源,那么您至少应该说出问题所在。否则你的评论毫无意义。