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 );

Ideally you should change the actual code so it doesn't use deprecated functionality ( in this case remove & before new in the line referenced ) .. but if you do not have the time/resources then nullify it using the above.


In PHP5 this is deprecated

Remove & before new

Check This Out