I ran into this and found it interesting. Someone has added support for anonymous functions in PHP.
With the patch you can now do stuff like:
Before you had to use a funky function generation call.
I stopped following the discussion after a while (and any discussion on the Internals Mailing List). I'm more interested in if they are going to have it in the next version of PHP. The patch is easy enough that you can add it yourself.
It is good that people with more karma was able to come in and support the idea.
Edward: it's not first-class function. thing which gets into php is much simplier…
though, it's still not applied to the tree, as far as I know
Your email is never published nor shared. 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>
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>
I am Carson McDonald a software engineer and this blog is a small slice of what I do every day. I started developing software in 1989 and since then have work with a wide range of languages and systems.
You can also find me at the following: