반응형

<?php
//Disable error reporting
error_reporting(0);

//Report runtime errors
error_reporting(E_ERROR | E_WARNING | E_PARSE);

//Report all errors
error_reporting(E_ALL);
?> 

1. deprecated 안나오게.

error_reporting(E_ALL ^E_DEPRECATED); 


2. notice 안나오게.

error_reporting(E_ALL ^E_NOTICE);


다음 참조.

http://www.w3schools.com/php/func_error_reporting.asp

반응형
Posted by 컴스터
,