подскадите как добавить данные, что бы каждую итерацию не затирлось то, что уже есть

                     $md5Hashes = json_decode(file_get_contents(Yii::getAlias($this- 
                    >forms_path) . $file), true);

                    $this->configs['md5'];
                    foreach ($this->configs['md5'] as $key => $value) {
                        $md5Hashes = ($this->configs['md5'][$key]);
                   //не выходит
                  ------------------------
                          $md5Hashes = [];
                    foreach ($this->configs['md5'] as $key => $value) {
                        $md5Hashes[$key] = $value;
                    }

Ответы (0 шт):