Created
February 2, 2016 11:25
-
-
Save hsleonis/16514795a1895f531bc5 to your computer and use it in GitHub Desktop.
Remove PHP Strict Standards message
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
Using php.ini file: | |
error_reporting = E_ALL & ~E_NOTICE & ~E_WARNING & ~E_STRICT & ~E_DEPRECATED | |
Warning! : This may cause 500 internal error on some server, contact provider | |
*/ | |
/* | |
Using php | |
*/ | |
error_reporting(0); | |
ini_set('error_reporting', E_ALL & ~E_NOTICE & ~E_WARNING & ~E_STRICT & ~E_DEPRECATED); | |
ini_set('display_errors','Off'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment