Prevent array_forget() from mixing up references
Merge pull request #5715 from jchamberlain/array_forget

Prevent array_forget() from mixing up references