Monthly Archives: October 2010

Error handling stack in PHP 5.3+

Update: this article is mentioned in a few places as a practical example of using closures. Some languages pass variables into a closure automatically. In PHP it needs to be done explicitly using the use keyword. See line #6 of

Tagged with:
Posted in Code