# ArrayIterator::getArrayCopy

(PHP 5, PHP 7, PHP 8)

ArrayIterator::getArrayCopy — Get array copy

### 说明

public ArrayIterator::getArrayCopy(): array

Get a copy of an array.

警告

本函数还未编写文档，仅有参数列表。

### 参数

此函数没有参数。

### 返回值

A copy of the array, or array of public properties if ArrayIterator refers to an object.

### 参见

- ArrayIterator::valid() - Check whether array contains more entries

`↑` and `↓` to navigate • `Enter` to select • `Esc` to close • `/` to open