I just tried to write this comment:
You could use
$arr = explode(' ', $str); to split
. Then you could do the same on
= to get your key->value pairs.
But it chokes on and formats like so:
Meta Stack Exchange is a question and answer site for meta-discussion of the Stack Exchange family of Q&A websites. It only takes a minute to sign up.Sign up to join this community