I have this code:
$arr = [];
$arr['into']['box'] = 1;
return $arr;
But it returns this:
{
"into": {
"box": 1
}
}
As you can see it should be array, not object!!
I searched a lot but I didn't find anything.
Help me and give me the code or the tip please.