PHP 5.3 anonymous function fallback