Skip to content

Instantly share code, notes, and snippets.

@waspar
Created August 16, 2021 14:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save waspar/fff058d1db27640daaa3eb69280c23fc to your computer and use it in GitHub Desktop.
Save waspar/fff058d1db27640daaa3eb69280c23fc to your computer and use it in GitHub Desktop.
php_array_walk_use
array_walk(current($arResultTasksUsers), function ($value, $key) use (&$arData) {
$arData['TASKS_USERS_IDS'][$value['USER_ID']] = $value['USER_ID'];
});
@waspar
Copy link
Author

waspar commented Aug 16, 2021

$arUser = current($arResultTasksUsers);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment