News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Recess Blog:
Functional PHP 5.3 Part I - What are Anonymous Functions and Closures?
August 19, 2009 @ 11:56:50

Those still trying to get a handle on anonymous functions, lambdas and closures in the recently released 5.3 version of PHP might want to take a look at this new tutorial from the Recess blog. It's the first part of their "Functional PHP 5.3" series.

One of the most exciting features of PHP 5.3 is the first-class support for anonymous functions. You may have heard them referred to as closures or lambdas as well. There's a lot of meaning behind these terms so let's straighten it all out.

They explain the differences between closures and lambda functions (hint: not much) and give code examples for both them and closures.

0 comments voice your opinion now!
anonymous function closure lambda


blog comments powered by Disqus

Similar Posts

Kevin van Zonneveld's Blog: Porting PHP to Javascript

SitePoint PHP Blog: How to Roll Your Own JavaScript Compressor with PHP and the Closure Compiler

Community Crosstalk: Matthew O'Phinney & Scott Johnson on Dynamic Function/Method Calls

Alex Netkachov's Blog: BAT file tips

Eirik Hoem's Blog: Dying with grace - PHP's register_shutdown_function


Community Events





Don't see your event here?
Let us know!


deployment community developer api list bugfix language interview podcast release opinion voicesoftheelephpant zendserver introduction laravel series tips library framework symfony

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework