What are PHP Lambdas and Closures?

You have heard about anonymous function. We mostly use it in jQuery and javascript.
PHP also gave support to anonymous function from PHP 5.3 version.

lambdas and closures are best use case of an anonymous function in PHP.
Learn What is PHP lambdas and closures and what the use and importance of them

http://culttt.com/2013/03/25/what-are-php-lambdas-and-closures/

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s