Created
August 16, 2021 14:35
-
-
Save waspar/fff058d1db27640daaa3eb69280c23fc to your computer and use it in GitHub Desktop.
php_array_walk_use
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
array_walk(current($arResultTasksUsers), function ($value, $key) use (&$arData) { | |
$arData['TASKS_USERS_IDS'][$value['USER_ID']] = $value['USER_ID']; | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
$arUser = current($arResultTasksUsers);