show deprecated warnings php code example
Example 1: turn off deprecated warnings php
error_reporting(E_ALL ^ E_DEPRECATED);
Example 2: turn off deprecated warnings php
error_reporting(E_ERROR | E_WARNING | E_PARSE | E_NOTICE);
error_reporting(E_ALL ^ E_DEPRECATED);
error_reporting(E_ERROR | E_WARNING | E_PARSE | E_NOTICE);