Array of PHP_ diff,array_ intersect,array_ merge, in_ Is there a limit on the number of arrays in array?

1. First of all, I build a table of 10W data.

2. Use the method in TP to take out the column for array_ diff,array_ intersect,array_ Merge can calculate the normal output, and the response is millisecond.

(the figure below is the result of normal calculation)

(the following figure shows the response in seconds. Of course, you can also measure the time-consuming of this code. If I have less time, I will not measure it.)

Read More: