I want that string to array like [10=>Tom, 20=>jerry]
Any way for this?
Please format the code you posted, by wrapping it in triple backticks. -> `
you could use regex to split the string into component parts
Обсуждают сегодня