Interface for array compatible object
public static
toArray(mixed $ary_or_obj, $is_toplevel = true): array|null
Convert object to array recursive