Convert Python list comprehensions to PHP using array_map and anonymous function calls.