# [RFC][Withdrawn] array_change_keys()

- Thread: https://externals.io/message/103525
- Original archive: https://news-web.php.net/php.internals/103525
- Started by Colin O'Dell on 2018-11-27T23:50:04+00:00
- Messages: 1
- RFC: array_change_keys() (Withdrawn) — https://externals.io/rfc/array_change_keys.md
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · RFCs at https://externals.io/rfc.md · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #103525 — Colin O'Dell — 2018-11-27T23:50:04+00:00

URL: https://externals.io/message/103525#103525

Hello Internals,

I am withdrawing the array_change_keys() RFC:
https://wiki.php.net/rfc/array_change_keys

While I still believe that PHP is missing the ability to easily re-key an
array, I'm no longer convinced that this particular approach is the best
solution, nor do I currently have the time to address the remaining hurdles
and push this forward.

Perhaps this should indeed remain in userland, as some have suggested, or
perhaps a better solution would be a function to change a single element's
key (which can then be used in a loop by those who need it).  I think the
latter might be interesting.  I was hoping to delay this until I could
fully explore those alternative options but I unfortunately won't have the
bandwidth to do that anytime soon.

So because the RFC is not being actively discussed or worked on, and I have
no plans to push this forward soon, I am withdrawing the RFC.

I would like to thank Jeremy for his help creating the proposed
implementation and everyone who provided candid feedback on this.

Cheers,

Colin O'Dell
colinodell@gmail.com
-- 
Colin O'Dell
colinodell@gmail.com
https://www.colinodell.com
