Posts Tagged with lambda

Dynamically adding methods and static methods onto classes at runtime in PHP5.3

March 5 -
Before I begin, let me state that I agree entirely with others who have said that lambda functions and closures aren’t meant to allow you to dynamically extend classes at runtime, what I disagree with is the assertion that there are other ways of doing this. Currently there is no other way of doing this, and while I don’t think ...
more

Edit

Extending PHP5.3 objects at runtime with lambda functions

January 6 -

PHP 5.3 will include lambda functions and closures.
One interesting thing that will come from this will be the ability to dynamically add a method onto a class at runtime, by combining lambas with the magic __call method..well, at least a hack to make something like this....

more

Edit


Subscribe to Feed

Navigation

Asides

  • January 9 - Fixed textitle usage in atom feed

    I’ve started using Textile) for markup in my posts, but it wasn’t getting parsed in my Atom feed..now fixed!

  • January 2 - No xmlrpc to Habari from G1

    The Android Market place doesn’t have any xmlrpc apps to work with Habari, just one that should work but doesn’t as it’s doing something only Wordpress seems to understand. FAIL.

More Posts

Recent Comments

Links

Latest tweet on Twitter

User Login