php exchange value

Using the XOR and the third parameter comparison

One result of the comparison :()

XOR: execution time of between 0.035-0.085

The third argument: the execution time between 0.035-0.050

Conclusion: The higher the efficiency of using a third parameter / more stable

Guess you like

Origin www.cnblogs.com/peipeiyu/p/11532385.html