how to remove the deprecated error
10,667
Solution 1
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.
Solution 2
In PHP5 this is deprecated
Remove &
before new
Author by
lavan
Updated on June 26, 2022Comments
-
lavan almost 2 years
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