2 ms·
I don't understand what you wrote about "deferred array copying". When I ran your code I got "PHP Notice: Undefined offset: 1" If I removed that line then I
by ars 12y ago
I don't understand what you wrote about "deferred array copying".
When I ran your code I got "PHP Notice: Undefined offset: 1"
If I removed that line then I got "2 3" which seemed wrong to me since those two variables should have been aliases to the same thing. But copying the values instead of the reference seems slower, not faster.