Search found 1 match

by azamat
Fri Oct 27, 2017 12:43 pm
Forum: PHP Scripts
Topic: Single associative array value grouping based on key
Replies: 1
Views: 547

Single associative array value grouping based on key

https://www.testdome.com/for-developers/solve-question/11840 I can`t complete this easy test :( . I can`t figure out how to complete this one. I went so below so far. <?php class FileOwners { public static function groupByOwners($files) { $grouped = array(); foreach ($files as $value => $key){ $grou...