Example 17-2. Refactoring the foreach loop with native PHP functions $users = [...]; return array_map(function ($user) { $user['name'] = $user['first'] .
確定! 回上一頁