@stof `array_map` will create a in-memory copy of the array which is being iterated. therefore there is a difference as far as I understood http://willem.stuursma.name/2010/11/22/a-detailed-look-into-array_map-and-foreach/