diff --git a/app/index.php b/app/index.php index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..4a38308fd951a22193eae56bb97c87a7686f1596 100644 --- a/app/index.php +++ b/app/index.php @@ -0,0 +1,10 @@ + $item){ + $item = array_unique($item); + foreach ($item as $oneOfItem){ + $returnableArray[] = [ + [ + $key, + $oneOfItem + ] + ]; + } + } + + return $returnableArray; +} \ No newline at end of file