Use new hash iteration API and avoid old zend_hash_update_current_key() hack
Removed the old hack that was originally developed to support constants in array indeces, and isn't needed anymore after the Bob's patch.