Файловый менеджер - Редактировать - /home/kckglobal/public_html/portal/vendor/azjezz/psl/src/Psl/Vec/take.php
Назад
<?php declare(strict_types=1); namespace Psl\Vec; /** * Take the first n elements from an iterable. * * Examples: * * Vec\take([1, 2, 3, 4], 2) * => Vec(1, 2) * * @template T * * @param iterable<T> $iterable Iterable to take the elements from * @param int<0, max> $n Number of elements to take from the start * * @return list<T> */ function take(iterable $iterable, int $n): array { return slice($iterable, 0, $n); }
| ver. 1.4 |
Github
|
.
| PHP 8.2.28 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка