convert objects in array to arrays php1 code example Example: object to array php $array = (array) $yourObject;