PHP error_reporting()

1 개요[ | ]

PHP error_reporting()
  • 오류 보고(reporting) 수준을 설정하는 PHP 함수

2 예시[ | ]

오류 출력 끄기
error_reporting(0);
모든 오류 보기
error_reporting(E_ALL);
error_reporting(-1);
ini_set('error_reporting', E_ALL);
E_NOTICE를 제외한 모든 오류 보기
error_reporting(E_ALL & ~E_NOTICE);
error_reporting(E_ERROR | E_WARNING);

3 같이 보기[ | ]

4 참고[ | ]

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}