Is it possible to simulate closures in PHP 5.2.x not using globals? I could think of a way that would pass the desired variables as extra parameters to the closure but that
Do you mean Currying like http://en.wikipedia.org/wiki/Currying
Then http://zaemis.blogspot.com/2009/06/currying-in-php.html
If not, never mind. :-)