From 44576ed005b14259942c949409d65821e25080ee Mon Sep 17 00:00:00 2001 From: Goran Rakic Date: Wed, 11 Jul 2012 00:50:38 +0200 Subject: [PATCH] anonymous functions !== closures --- _posts/03-02-01-Programming-Paradigms.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/_posts/03-02-01-Programming-Paradigms.md b/_posts/03-02-01-Programming-Paradigms.md index f0c4d77..e7c5f52 100644 --- a/_posts/03-02-01-Programming-Paradigms.md +++ b/_posts/03-02-01-Programming-Paradigms.md @@ -20,7 +20,7 @@ interfaces, inheritence, constructors, cloning, exceptions, and more. PHP supports first-class functions. It is possible to define a new function and assign it to a variable name and built-in functions can be referenced and called dynamically. Functions can be passed as arguments to other functions (Higher-order functions) and function -can return other functions. New anonymous functions (also known as Closures) are present since PHP 5.3 (2009). +can return other functions. New anonymous functions (with support for closures) are present since PHP 5.3 (2009). {% highlight php %}