Ultimate PHP error_reporting wizard
|
|
| Binary |
|
| Decimal |
|
| Constants |
|
| PHP |
|
<?php
error_reporting();
?>
|
| htaccess |
|
php_value error_reporting
|
|
This tool is a reference for PHP developers needing to set PHP's error reporting level.
To use this tool, tick the checkboxes next to the errors you want PHP to report on and this tool will generate the various different representations.
To set the error reporting level via PHP, copy and paste the "PHP" section's contents. To set the
error reporting level via Apache, copy and paste the "htaccess" section's contents into a ".htaccess" file. You can also use the "htaccess"
section in Apache's VHost configuration file (httpd.conf).