I have an array
Array
(
[0] => [RESPONSE]
[1] => DESCRIPTION=Attribute value is not unique
[2] => CODE=540
[3] =>
[4] => QUEUETIME=0.003
[5] => RUNTIME=0.003
[6] =>
[7] => EOF
)
Array
And I want to make it into
array( [DESCRIPTION] => Attribute value is not unique, [CODE] => 540 ...);
How can I do this? I can’t use the explode because it is an array?
I do not believe that PHP has one, but heres a simple function to do it (tested):