I just tried to write this comment:
You could use $arr = explode(' ', $str);
to split $str
by . Then you could do the same on
=
to get your key->value pairs.
But it chokes on and formats like so:
I just tried to write this comment:
You could use $arr = explode(' ', $str);
to split $str
by . Then you could do the same on
=
to get your key->value pairs.
But it chokes on and formats like so:
$arr = explode(' ', $str);
to split$str
by
. Then you could do the same on=
to get your key->value pairs. – Antony May 8 '13 at 12:46