How to convert this string to array in PHP?
"["COLOR","SIZE","TYPE"]"
I have read so many answers but they have a different string format and also I found the eval()
but Im not a fan of it. Thanks in advance.
How to convert this string to array in PHP?
"["COLOR","SIZE","TYPE"]"
I have read so many answers but they have a different string format and also I found the eval()
but Im not a fan of it. Thanks in advance.