Faster Array Merging in PHP
I recently read a tweet (that I'm unable to find) stating that adding two arrays together is faster than using array_merge, so I decided to test it. I wrote a quick file that contains 3 for loops, each doing 10.000.000 iterations. Below are the benchmarks. Benchmarks Below…