anonymous functions require php >= 5.3.0