in php/src/ArrayUtil.php [15:22]
public static function split($raw, $index, $limit)
{
if (!isset($raw) || empty($raw) || $index < 0 || $limit > \count($raw)) {
throw new \InvalidArgumentException('not a valid value for parameter');
}
return \array_slice($raw, $index, $limit);
}