gpt4 book ai didi

PHP7 - nusoap - nusoap_client 有一个弃用的构造函数

转载 作者:塔克拉玛干 更新时间:2023-11-03 06:04:46 30 4
gpt4 key购买 nike

我想在 Laravel 5.3PHP7 上使用 nusoap。但是当我尝试使用那个包中的 composer 安装它时:

https://github.com/codecasts/nusoap-php7 (v.0.9.6)

它仍然返回我:

ErrorException in class.soapclient.php line 26: Methods with the same name as their class will not be constructors in a future version of PHP; nusoap_client has a deprecated constructor

我会清除缓存,但都没有成功。有没有人用 PHP7Laravel 中成功实现了 nusoap

最佳答案

我遇到了同样的问题。我在 GitHub 上找到了一个新版本的 nusoap.php 文件,您必须将其复制到实际的 NuSoap 文件夹中。已弃用的构造函数已被重写。

这是您可以获取文件的链接: https://github.com/econea/nusoap

关于PHP7 - nusoap - nusoap_client 有一个弃用的构造函数,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/39616448/

30 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com