I am working on project @ home and using WAMP for development. Currently the php.ini
file has the following lines set like this:
error_reporting = E_ALL & ~E_DEPRECATED
display_errors = On
I had hoped in doing so it would prevent deprecation warnings from showing up. However it is not. Is there a way I can adjust error_reporting
to ignore deprecated warnings.
Output I am getting currently:
mysql_*
functions in new code. They are no longer maintained and are officially deprecated. See the red box? Learn about prepared statements instead, and use PDO or MySQLi - this article will help you decide which. (Also, possible duplicate of Turn off deprecated errors php 5.3.)&
in your php.ini?error_reporting = E_ALL ^ E_DEPRECATED