mirror of
https://github.com/codeguy/php-the-right-way.git
synced 2025-08-08 06:56:33 +02:00
Merge pull request #461 from jlaswell/patch-1
Bettering error description readability
This commit is contained in:
@@ -37,9 +37,7 @@ point it will throw an error and report it.
|
||||
|
||||
PHP has several levels of error severity. The three most common types of messages are errors, notices and warnings.
|
||||
These have different levels of severity; `E_ERROR`, `E_NOTICE`, and `E_WARNING`. Errors are fatal run-time errors and
|
||||
are usually caused by faults in your code and need to be fixed as they'll cause PHP to stop executing. Warnings are
|
||||
non-fatal errors, execution of the script will not be halted. Notices are advisory messages caused by code that may or
|
||||
may not cause problems during the execution of the script, execution is not halted.
|
||||
are usually caused by faults in your code and need to be fixed as they'll cause PHP to stop executing. Notices are advisory messages caused by code that may or may not cause problems during the execution of the script, execution is not halted. Warnings are non-fatal errors, execution of the script will not be halted.
|
||||
|
||||
Another type of error message reported at compile time are `E_STRICT` messages. These messages are used to suggest
|
||||
changes to your code to help ensure best interoperability and forward compatibility with upcoming versions of PHP.
|
||||
|
Reference in New Issue
Block a user