2 pages tagged with "array"
Never use array_merge in a loopNovember 10, 2020
Using array_merge inside a loop is a performance killer. The spread operator will help you to improve this by flatting the array.
Typed arrays in PHPOctober 13, 2020
Argument unpacking, function variable argument list, and variadics function.