Anonymous functions are incompatible with PHP 5.2