Fixed bug #67594

Zend hash allows any key, but PHP assumes null terminated keys for array keys.

I'm not sure how this fixes anything; instead of passing `key` you make a copy of `key` and then basically pass the exact same thing to `add_assoc_string_ex()`. Am I missing something?