Re:Higher Order PHP
by apgwoz on Friday February 06, 2009 @03:05PM
(#470255)
I'm taking care of this by memoizing them, at least when using Fn::lambda() to create a function with create_function. However, the whole return function() {}; should be garbage collected, since internally it's creating an object of type Closure with a magic method __invoke(). It's really quite the hack from what I've seen.
[ Parent
| on HN ]
There are no comments on this comment yet.