diff --git a/pages/The-Basics.md b/pages/The-Basics.md index b6866ea..e3d7708 100644 --- a/pages/The-Basics.md +++ b/pages/The-Basics.md @@ -325,6 +325,58 @@ This can also be said for all operations(===, !==, !=, == etc). {% endhighlight %} +#### Utilising brackets with ternary operators for form and function + +When utilising a ternary operator, brackets can play their part to improve code readability and also to include unions within blocks of statements. An example of when there is no requirement to use bracketing is: + +{% highlight php %} +