remove warnings php code example
Example 1: php remove warning
error_reporting(E_ALL ^ E_WARNING);
Example 2: php remove warning
error_reporting(E_ERROR | E_PARSE);
error_reporting(E_ALL ^ E_WARNING);
error_reporting(E_ERROR | E_PARSE);