开发者社区 问答 正文

protected static function get_html($url,?400报错

protected static function get_html($url, &$config)? 400 报错

protected static function get_html($url, &$config) {

    ............................

}

 

请求&$config是什么意思。为什么要这样用它呢?

展开
收起
爱吃鱼的程序员 2020-05-30 23:19:48 313 分享
分享
版权
举报
1 条回答
写回答
取消 提交回答
  • https://developer.aliyun.com/profile/5yerqm5bn5yqg?spm=a2c6h.12873639.0.0.6eae304abcjaIB

    引用么,函数中可以修改该参数。

    2020-05-30 23:19:49 举报
    赞同 评论

    评论

    全部评论 (0)

    登录后可评论
AI助理

你好,我是AI助理

可以解答问题、推荐解决方案等