简体   繁体   中英

how to remove the deprecated error

I'm developing google clone search engine with Google API key in PHP. 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

Remove & before new

Check This Out

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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