DEV Community

Discussion on: Never use array_merge in a loop in PHP

Collapse
 
klnjmm profile image
Jimmy Klein

Sorry but I don't understand your comment...

Collapse
 
chris_daniel profile image
Christopher Daniel • Edited

I think if we pass more than two arrays as arguments, it will call k way merge. It is faster than array_merge in loop