Lambda functions in PHP?

submit to reddit

What’s new in PHP 5.3.

When I heart about the new PHP 5.3 feature – the lambda functions I was really surprised. Yes really after we have in JavaScript such a powerfull tool, why not having it in PHP. Other new feature, waited so much, are the namespaces.

Anonymous Functions?

The anonymous functions is really a functional programming language feature such as scheme. There are lots of talks about the functional nature of JavaScript, but PHP was really different.

What about anonymous objects

I’d like to see anonymous objects, yet again like in JS, in PHP. This is really powerfull, I hope more programmers would like to see such features in PHP.

Related Links

  1. Namespaces has PHP 5.3. (Or the other way around)
  2. What’s new in PHP 5.3.
  3. Lambda functions are coming to PHP

Related posts:

  1. 5 PHP String Functions You Need to Know
  2. PHP Functions: realpath()
  3. Object Oriented JavaScript: Inheritance

You are a GREAT developer? Click here to answer the weekly quiz!

This entry was posted in featured, PHP, web development and tagged , , , , . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="" highlight="">