SyntaxFix
Write A Post
Hire A Developer
Questions
Try this, working fine -
$array = json_decode(json_encode($array), true);