In short, I have something like this:
$variable = "[{"id":1, "nombre":"Juan"},{"id":2, "nombre":"Manuel"}]"
As you can see, it's a string and I want to pass it to an array, the goal is to be something like:
$variable = [
['id' => 1...
asked by
24.06.2018 / 23:22