You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It is confusing/wrong in this piece of the example code ("C\contains($items, 'a'); // true"). After modifying in above lines, it should be false
When explaining the immutable characteristic, I suppose it means the modification does not occur at the same memory location referenced Hack array, but instead create a modifiable copy. Perhaps it can use an example so it first assign the array to another variable ($items2 = $items) and then modify the $items, and check the values for both $items and $items2
Please complete the information below:
Where is the problem?
What is the problem?
Please don't change anything below this point.
The text was updated successfully, but these errors were encountered: