PHP » PYTHON |
login |
register |
about
|
|
error_reporting(PHP 4, PHP 5) error_reporting — Sets which PHP errors are reported Description
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. Parameters
Return ValuesReturns the old error_reporting level. Changelog
Examples
Example #1 error_reporting() examples
<?php
NotesWarning
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). See Also
|
more
Recently updated
more
Most requested
more
Last requests
|