[英]PHP7 - nusoap - nusoap_client has a deprecated constructor
I would like to use nusoap
on Laravel 5.3
with PHP7
. 我想在
nusoap
上使用Laravel 5.3
上的PHP7
。 But when ill try to install it with composer
from that package: 但是当生病时尝试使用该包中的
composer
安装它:
https://github.com/codecasts/nusoap-php7 (v.0.9.6) https://github.com/codecasts/nusoap-php7(v.0.9.6 )
It still returns me: 它仍然让我回报:
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;
class.soapclient.php第26行中的ErrorException:与其类同名的方法将不是PHP的未来版本中的构造函数; nusoap_client has a deprecated constructor
nusoap_client有一个不推荐使用的构造函数
Ill cleared the cache, but all with no success. 我清除了缓存,但都没有成功。 Anyone has successfully implemented
nusoap
in Laravel
with PHP7
? 有人已经成功实施
nusoap
在Laravel
与PHP7
?
I've had the same problem. 我遇到了同样的问题。 I've found on GitHub a new version of the nusoap.php file that you will have to copy in your actual NuSoap folder.
我在GitHub上找到了一个新版本的nusoap.php文件,您必须将其复制到实际的NuSoap文件夹中。 The deprecated constructor has been rewritten.
已弃用的构造函数已被重写。
Here is the link where you'll be able to get the file: https://github.com/econea/nusoap 以下是您可以获取文件的链接: https : //github.com/econea/nusoap
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.