I'm new to PHP but coming from Java & JavaScript. I have a string which I think resembles an Array?
[name] => John
[lastname] => Smith
[age] => 1.00
[amount] => 21.00
[birthday] => 6/9/2020
How would I parse this into an Array object so I can perform actions on each "key"?
parse_str() seems to fail with this, and so does explode() as it does not produce a "key-value" pair I can easily iterate over.
print_r, but if you have no control over it, you'll have to resort to a print_r converter of sorts, like the duplicate question above, there are answers in there that you could use