convert object to array php

33

//This works best
$array = json_decode(json_encode($object), true);

Comments

Submit
0 Comments