|
|||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||||||||||
error_reporting(PHP 4, PHP 5) 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. Список параметров
Возвращаемые значенияReturns the old error_reporting level. Список изменений
Примеры
Пример #1 error_reporting() examples
<?phpПримечанияВнимание
Most of E_STRICT errors are evaluated at the compile time thus such errors are not reported in the file where error_reporting is enhanced to include E_STRICT errors (and vice versa). | |||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||||||||||