Bettering error description readability

Reordering descriptions of error levels to be consistent with how they are listed above.
This commit is contained in:
John Laswell
2014-11-08 08:35:43 -05:00
parent 18885253b7
commit c8551c1b00

View File

@@ -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.