1

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:

  • You could use $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

Browse other questions tagged .