From 03dbf0b355da7e55795fbbfea191d919bc655ce9 Mon Sep 17 00:00:00 2001 From: Aran Wilkinson Date: Sun, 7 Jul 2013 17:33:00 +0100 Subject: [PATCH] Started work on errors and exceptions section Signed-off-by: Aran Wilkinson --- _posts/07-01-01-Errors-and-Exceptions.md | 6 ++++++ _posts/07-02-01-Errors.md | 11 +++++++++++ ...{05-05-01-Exceptions.md => 07-03-01-Exceptions.md} | 0 _posts/{07-01-01-Security.md => 08-01-01-Security.md} | 0 ...curity.md => 08-02-01-Web-Application-Security.md} | 0 ...ssword-Hashing.md => 08-03-01-Password-Hashing.md} | 0 ...1-Data-Filtering.md => 08-04-01-Data-Filtering.md} | 0 ...ation-Files.md => 08-05-01-Configuration-Files.md} | 0 ...gister-Globals.md => 08-06-01-Register-Globals.md} | 0 ...Error-Reporting.md => 08-07-01-Error-Reporting.md} | 0 _posts/{08-01-01-Testing.md => 09-01-01-Testing.md} | 0 ...lopment.md => 09-02-01-Test-Driven-Development.md} | 0 ...ent.md => 09-03-01-Behavior-Driven-Development.md} | 0 ...ols.md => 09-04-01-Complementary-Testing-Tools.md} | 0 ...ployment.md => 10-01-01-Servers-and-Deployment.md} | 0 ...a-Service.md => 10-02-01-Platform-as-a-Service.md} | 0 ...rs.md => 10-03-01-Virtual-or-Dedicated-Servers.md} | 0 ...1-Shared-Servers.md => 10-04-01-Shared-Servers.md} | 0 ...ation.md => 10-05-01-Building your Application.md} | 0 _posts/{10-01-01-Caching.md => 11-01-01-Caching.md} | 0 ...1-Bytecode-Cache.md => 11-02-01-Bytecode-Cache.md} | 0 ...1-Object-Caching.md => 11-03-01-Object-Caching.md} | 0 .../{11-01-01-Resources.md => 12-01-01-Resources.md} | 0 ...{11-02-01-Frameworks.md => 12-02-01-Frameworks.md} | 0 ...{11-03-01-Components.md => 12-03-01-Components.md} | 0 .../{12-01-01-Community.md => 13-01-01-Community.md} | 0 26 files changed, 17 insertions(+) create mode 100644 _posts/07-01-01-Errors-and-Exceptions.md create mode 100644 _posts/07-02-01-Errors.md rename _posts/{05-05-01-Exceptions.md => 07-03-01-Exceptions.md} (100%) rename _posts/{07-01-01-Security.md => 08-01-01-Security.md} (100%) rename _posts/{07-02-01-Web-Application-Security.md => 08-02-01-Web-Application-Security.md} (100%) rename _posts/{07-03-01-Password-Hashing.md => 08-03-01-Password-Hashing.md} (100%) rename _posts/{07-04-01-Data-Filtering.md => 08-04-01-Data-Filtering.md} (100%) rename _posts/{07-05-01-Configuration-Files.md => 08-05-01-Configuration-Files.md} (100%) rename _posts/{07-06-01-Register-Globals.md => 08-06-01-Register-Globals.md} (100%) rename _posts/{07-07-01-Error-Reporting.md => 08-07-01-Error-Reporting.md} (100%) rename _posts/{08-01-01-Testing.md => 09-01-01-Testing.md} (100%) rename _posts/{08-02-01-Test-Driven-Development.md => 09-02-01-Test-Driven-Development.md} (100%) rename _posts/{08-03-01-Behavior-Driven-Development.md => 09-03-01-Behavior-Driven-Development.md} (100%) rename _posts/{08-04-01-Complementary-Testing-Tools.md => 09-04-01-Complementary-Testing-Tools.md} (100%) rename _posts/{09-01-01-Servers-and-Deployment.md => 10-01-01-Servers-and-Deployment.md} (100%) rename _posts/{09-02-01-Platform-as-a-Service.md => 10-02-01-Platform-as-a-Service.md} (100%) rename _posts/{09-03-01-Virtual-or-Dedicated-Servers.md => 10-03-01-Virtual-or-Dedicated-Servers.md} (100%) rename _posts/{09-04-01-Shared-Servers.md => 10-04-01-Shared-Servers.md} (100%) rename _posts/{09-05-01-Building your Application.md => 10-05-01-Building your Application.md} (100%) rename _posts/{10-01-01-Caching.md => 11-01-01-Caching.md} (100%) rename _posts/{10-02-01-Bytecode-Cache.md => 11-02-01-Bytecode-Cache.md} (100%) rename _posts/{10-03-01-Object-Caching.md => 11-03-01-Object-Caching.md} (100%) rename _posts/{11-01-01-Resources.md => 12-01-01-Resources.md} (100%) rename _posts/{11-02-01-Frameworks.md => 12-02-01-Frameworks.md} (100%) rename _posts/{11-03-01-Components.md => 12-03-01-Components.md} (100%) rename _posts/{12-01-01-Community.md => 13-01-01-Community.md} (100%) diff --git a/_posts/07-01-01-Errors-and-Exceptions.md b/_posts/07-01-01-Errors-and-Exceptions.md new file mode 100644 index 0000000..f1b8566 --- /dev/null +++ b/_posts/07-01-01-Errors-and-Exceptions.md @@ -0,0 +1,6 @@ +--- +title: Errors and Exceptions +--- + +# Errors and Exceptions {#errors_and_exceptions_title} + diff --git a/_posts/07-02-01-Errors.md b/_posts/07-02-01-Errors.md new file mode 100644 index 0000000..dd4daeb --- /dev/null +++ b/_posts/07-02-01-Errors.md @@ -0,0 +1,11 @@ +--- +isChild: true +--- + +## Errors {#errors_title} + +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. + +Another type of error message reported at compile time is the `E_STRICT` message, these messages are used to suggest changes to your code to help ensure best interoperability and forward compatibility for your code. + +* [Predefined Constants for Error Handling](http://www.php.net/manual/en/errorfunc.constants.php) \ No newline at end of file diff --git a/_posts/05-05-01-Exceptions.md b/_posts/07-03-01-Exceptions.md similarity index 100% rename from _posts/05-05-01-Exceptions.md rename to _posts/07-03-01-Exceptions.md diff --git a/_posts/07-01-01-Security.md b/_posts/08-01-01-Security.md similarity index 100% rename from _posts/07-01-01-Security.md rename to _posts/08-01-01-Security.md diff --git a/_posts/07-02-01-Web-Application-Security.md b/_posts/08-02-01-Web-Application-Security.md similarity index 100% rename from _posts/07-02-01-Web-Application-Security.md rename to _posts/08-02-01-Web-Application-Security.md diff --git a/_posts/07-03-01-Password-Hashing.md b/_posts/08-03-01-Password-Hashing.md similarity index 100% rename from _posts/07-03-01-Password-Hashing.md rename to _posts/08-03-01-Password-Hashing.md diff --git a/_posts/07-04-01-Data-Filtering.md b/_posts/08-04-01-Data-Filtering.md similarity index 100% rename from _posts/07-04-01-Data-Filtering.md rename to _posts/08-04-01-Data-Filtering.md diff --git a/_posts/07-05-01-Configuration-Files.md b/_posts/08-05-01-Configuration-Files.md similarity index 100% rename from _posts/07-05-01-Configuration-Files.md rename to _posts/08-05-01-Configuration-Files.md diff --git a/_posts/07-06-01-Register-Globals.md b/_posts/08-06-01-Register-Globals.md similarity index 100% rename from _posts/07-06-01-Register-Globals.md rename to _posts/08-06-01-Register-Globals.md diff --git a/_posts/07-07-01-Error-Reporting.md b/_posts/08-07-01-Error-Reporting.md similarity index 100% rename from _posts/07-07-01-Error-Reporting.md rename to _posts/08-07-01-Error-Reporting.md diff --git a/_posts/08-01-01-Testing.md b/_posts/09-01-01-Testing.md similarity index 100% rename from _posts/08-01-01-Testing.md rename to _posts/09-01-01-Testing.md diff --git a/_posts/08-02-01-Test-Driven-Development.md b/_posts/09-02-01-Test-Driven-Development.md similarity index 100% rename from _posts/08-02-01-Test-Driven-Development.md rename to _posts/09-02-01-Test-Driven-Development.md diff --git a/_posts/08-03-01-Behavior-Driven-Development.md b/_posts/09-03-01-Behavior-Driven-Development.md similarity index 100% rename from _posts/08-03-01-Behavior-Driven-Development.md rename to _posts/09-03-01-Behavior-Driven-Development.md diff --git a/_posts/08-04-01-Complementary-Testing-Tools.md b/_posts/09-04-01-Complementary-Testing-Tools.md similarity index 100% rename from _posts/08-04-01-Complementary-Testing-Tools.md rename to _posts/09-04-01-Complementary-Testing-Tools.md diff --git a/_posts/09-01-01-Servers-and-Deployment.md b/_posts/10-01-01-Servers-and-Deployment.md similarity index 100% rename from _posts/09-01-01-Servers-and-Deployment.md rename to _posts/10-01-01-Servers-and-Deployment.md diff --git a/_posts/09-02-01-Platform-as-a-Service.md b/_posts/10-02-01-Platform-as-a-Service.md similarity index 100% rename from _posts/09-02-01-Platform-as-a-Service.md rename to _posts/10-02-01-Platform-as-a-Service.md diff --git a/_posts/09-03-01-Virtual-or-Dedicated-Servers.md b/_posts/10-03-01-Virtual-or-Dedicated-Servers.md similarity index 100% rename from _posts/09-03-01-Virtual-or-Dedicated-Servers.md rename to _posts/10-03-01-Virtual-or-Dedicated-Servers.md diff --git a/_posts/09-04-01-Shared-Servers.md b/_posts/10-04-01-Shared-Servers.md similarity index 100% rename from _posts/09-04-01-Shared-Servers.md rename to _posts/10-04-01-Shared-Servers.md diff --git a/_posts/09-05-01-Building your Application.md b/_posts/10-05-01-Building your Application.md similarity index 100% rename from _posts/09-05-01-Building your Application.md rename to _posts/10-05-01-Building your Application.md diff --git a/_posts/10-01-01-Caching.md b/_posts/11-01-01-Caching.md similarity index 100% rename from _posts/10-01-01-Caching.md rename to _posts/11-01-01-Caching.md diff --git a/_posts/10-02-01-Bytecode-Cache.md b/_posts/11-02-01-Bytecode-Cache.md similarity index 100% rename from _posts/10-02-01-Bytecode-Cache.md rename to _posts/11-02-01-Bytecode-Cache.md diff --git a/_posts/10-03-01-Object-Caching.md b/_posts/11-03-01-Object-Caching.md similarity index 100% rename from _posts/10-03-01-Object-Caching.md rename to _posts/11-03-01-Object-Caching.md diff --git a/_posts/11-01-01-Resources.md b/_posts/12-01-01-Resources.md similarity index 100% rename from _posts/11-01-01-Resources.md rename to _posts/12-01-01-Resources.md diff --git a/_posts/11-02-01-Frameworks.md b/_posts/12-02-01-Frameworks.md similarity index 100% rename from _posts/11-02-01-Frameworks.md rename to _posts/12-02-01-Frameworks.md diff --git a/_posts/11-03-01-Components.md b/_posts/12-03-01-Components.md similarity index 100% rename from _posts/11-03-01-Components.md rename to _posts/12-03-01-Components.md diff --git a/_posts/12-01-01-Community.md b/_posts/13-01-01-Community.md similarity index 100% rename from _posts/12-01-01-Community.md rename to _posts/13-01-01-Community.md