mirror of
https://github.com/codeguy/php-the-right-way.git
synced 2025-08-08 06:56:33 +02:00
@@ -48,7 +48,7 @@ changes to your code to help ensure best interoperability and forward compatibil
|
|||||||
|
|
||||||
Error Reporting can be changed by using PHP settings and/or PHP function calls. Using the built in PHP function
|
Error Reporting can be changed by using PHP settings and/or PHP function calls. Using the built in PHP function
|
||||||
`error_reporting()` you can set the level of errors for the duration of the script execution by passing one of the
|
`error_reporting()` you can set the level of errors for the duration of the script execution by passing one of the
|
||||||
predefined error level constants, meaning if you only want to see Warnings and Errors - but not Notices - then you can
|
predefined error level constants, meaning if you only want to see Errors and Warnings - but not Notices - then you can
|
||||||
configure that:
|
configure that:
|
||||||
|
|
||||||
{% highlight php %}
|
{% highlight php %}
|
||||||
|
Reference in New Issue
Block a user