update : 2015.11.03
php.shukuma.com검색:
|
error_reporting(PHP 4, PHP 5, PHP 7) error_reporting — Sets which PHP errors are reported 설명
int error_reporting
([ int
$level
] )
The error_reporting() function sets the
error_reporting
directive at runtime. PHP has many levels of errors, using
this function sets that level for the duration (runtime) of
your script. If the optional 인수
반환값
Returns the old error_reporting
level or the current level if no 변경점
예제
Example #1 error_reporting() examples
<?php 주의Warning
Most of Tip
Passing in the value -1 will show every possible error,
even when new levels and constants are added in future PHP versions. The
참고
|