I have an array like this:
[
{
"date": "2019-05-10"
},
{
"date": "2019-05-20"
},
]
I want to convert it to something like this:
['2019-05-10','2019-05-20']
what is the best way to do it in php?