🌈 搜索
📅  最后修改于: 2022-03-11 14:54:09.153000             🧑  作者: Mango
// A collection of Post objects $posts = [/* … */]; $ids = array_map(fn($post) => $post->id, $posts);