Answers for "how to convert string to array/ object in php"

PHP
1

convert object to array in php

// It will work Perfectly Fine.
$arr = json_decode(json_encode($obj), true);
Posted by: Guest on August-31-2021

Code answers related to "how to convert string to array/ object in php"

Browse Popular Code Answers by Language