简体   繁体   English

如何删除已弃用的错误

[英]how to remove the deprecated error

I'm developing google clone search engine with Google API key in PHP. 我正在使用PHP中的Google API密钥开发谷歌克隆搜索引擎。 I'm getting this error. 我收到了这个错误。 what should I do for remove that error? 我应该怎么做才能消除这个错误?

Deprecated: Assigning the return value of new by reference is deprecated in E:\wamp\www\downclone\google.com-search-engine-clone\google.com Search Engine Clone\nusoap.php on line 3703

thanks in advance 提前致谢

error_reporting( E_ALL ^ E_DEPRECATED );

理想情况下,你应该改变实际的代码,以便它不使用过时的功能(在这种情况下删除&之前new中引用的行)..但如果你没有时间/资源再利用上述废掉它。

In PHP5 this is deprecated 在PHP5中,这是不推荐使用的

Remove & before new 删除&之前new

Check This Out 看一下这个

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM