diff --git a/_posts/05-03-01-Design-Patterns.md b/_posts/05-04-01-Design-Patterns.md similarity index 100% rename from _posts/05-03-01-Design-Patterns.md rename to _posts/05-04-01-Design-Patterns.md diff --git a/_posts/05-05-01-The-Basics.md b/_posts/05-05-01-The-Basics.md new file mode 100644 index 000000000..11d3000b9 --- /dev/null +++ b/_posts/05-05-01-The-Basics.md @@ -0,0 +1,12 @@ +--- +isChild: true +--- + +## The Basics + +PHP is a vast language that allows coders of all levels the ability to produce code not only quickly, but efficiently. +However while advancing through the language, we often forget the basics that we first learnt (or overlooked) in favor +of short cuts and/or bad habits. To help combat this common issue, this section is aimed at reminding coders of the +basic coding practices within PHP. + +* Continue reading on [The Basics](/pages/The-Basics.html) \ No newline at end of file diff --git a/pages/The-Basics.md b/pages/The-Basics.md new file mode 100644 index 000000000..da7af36c2 --- /dev/null +++ b/pages/The-Basics.md @@ -0,0 +1,322 @@ +--- +layout: page +title: The Basics +--- + +# The Basics + +## Comparison operators + +Comparison operators are an often overlooked aspect of PHP, which can lead to many unexpected outcomes. One such +problem stems from strict comparisons (the comparison of booleans as integers). + +{% highlight php %} +