I want to transfer
Array
(
[0] => name|smith
[1] => kid|tom
[2] => wife|emily
)
The fastest, smartest way into
Array
(
[name] => smith
[kid] => tom
[wife] => emily
)
It's not a big deal to use foreach for that. But I would prefer a smart one-liner.