Файловый менеджер - Редактировать - /home/kckglobal/public_html/portal/vendor/azjezz/psl/src/Psl/Iter/all.php
Назад
<?php declare(strict_types=1); namespace Psl\Iter; use Closure; /** * Returns true if all values in the iterable satisfy the predicate. * * This function is short-circuiting, i.e. if the predicate fails for one * element the remaining elements will not be considered anymore. * * @template T * * @param iterable<T> $iterable Iterable to check against the predicate * @param (Closure(T): bool) $predicate */ function all(iterable $iterable, Closure $predicate): bool { foreach ($iterable as $value) { if (!$predicate($value)) { return false; } } return true; }
| ver. 1.4 |
Github
|
.
| PHP 8.2.28 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка