Fixed: using  in a closure doesn't work with all supported PHP versions