Issue 9212 - Associative array foreach iteration with immutable key

https://d.puremagic.com/issues/show_bug.cgi?id=9212