diff --git a/_posts/03-02-01-Programming-Paradigms.md b/_posts/03-02-01-Programming-Paradigms.md index e8a39e6..c1098b7 100644 --- a/_posts/03-02-01-Programming-Paradigms.md +++ b/_posts/03-02-01-Programming-Paradigms.md @@ -4,7 +4,9 @@ isChild: true ## Programming Paradigms -PHP is a flexible, dynamic language that supports a variety of programming techniques. It has evolved dramatically over the years, notably adding a solid object-oriented model in PHP 5.0 (2004), anonymous functions and namespaces in PHP 5.3 (2009), and traits in PHP 5.4 (2012). +PHP is a flexible, dynamic language that supports a variety of programming techniques. It has evolved dramatically over the years, +notably adding a solid object-oriented model in PHP 5.0 (2004), anonymous functions and namespaces in PHP 5.3 (2009), and traits in +PHP 5.4 (2012). ### Object-oriented Programming @@ -13,15 +15,31 @@ PHP is a flexible, dynamic language that supports a variety of programming techn ### Functional Programming +PHP has had annonymous functions since PHP 5.3: + +{% highlight php %} +