Hello everyone!
I've seen some unexpected behavior when I'm tying dereference an array ptr. Here is the code:
var
a = [8, 7, 3, 10, 0, 0, 0, 1]
b = [10, 0, 0, 0 ,0 ,0 ,0, 0]
ap = addr a
ap[] = b
echo repr(a)
After execution I had got this: [8, 7, 3, 10, 0, 0, 0, 1]
If I'm right, there have to be assignment of elements of array 'b' to array 'a' because of dereference of 'ap', which wasn't happens. Where I'm wrong?