I have an array $x
with nonzero number of elements. I want to create another array ($y
) which is equal to $x
. Then I want to make some manipulations with $y
without causing any changes to $x
. Can I create $y
in this way:
$y = $x;
In other words, if I modify $y
created in the above shown way, will I change value of $x
?