flatMap in php :)
lca