To remove deprecated warning message displays when executing PHP programs, open php.ini file and ADD to it
error_reporting = E_ALL & ~E_DEPRECATED
This is the setting for the production environment where you would not like to display the deprecated function related errors.
Sample error message
Assigning the return value of new by reference is deprecated in nusoap.php on line 7381