Answers for "how to convert object to an array php"

PHP
6

php object to array

//This works best
$array = json_decode(json_encode($object), true);
Posted by: Guest on January-28-2021

Code answers related to "how to convert object to an array php"

Browse Popular Code Answers by Language