array_slice

(PHP 4, PHP 5, PHP 7, PHP 8)

array_slice配列の一部を展開する

説明

function array_slice(
    array $array,
    int $offset,