EDIT: needs to be documented [here](https://github.com/kalessil/phpinspectionsea/blob/master/docs/performance.md) --- I'm getting the reporting about using of `array_merge()` in loopings. My question is: what is the best way to not do that? For instance: the code below stores some data from `$user`, that is an array of int. ```php $dupesIds = []; foreach ($users as $user) { // ... $dupesIds = array_merge($dupesIds, $user->some_ids_array); } ```