我正在使用PHP中的Google API密钥开发谷歌克隆搜索引擎。我收到了这个错误。我应该怎么做才能消除这个错误?
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
提前致谢
error_reporting( E_ALL ^ E_DEPRECATED );
理想情况下,您应该更改实际代码,以便它不使用已弃用的功能(在这种情况下,在引用的行中删除&
之前删除new
)..但是如果您没有时间/资源,则使用上面的方法将其取消。