From c8551c1b00cdfc424280dbfd832fbbe5ae0e4bfa Mon Sep 17 00:00:00 2001 From: John Laswell Date: Sat, 8 Nov 2014 08:35:43 -0500 Subject: [PATCH] Bettering error description readability Reordering descriptions of error levels to be consistent with how they are listed above. --- _posts/09-02-01-Errors.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/_posts/09-02-01-Errors.md b/_posts/09-02-01-Errors.md index ea2f771..9b825b9 100644 --- a/_posts/09-02-01-Errors.md +++ b/_posts/09-02-01-Errors.md @@ -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.