whoami7 - Manager
:
/
home
/
kckglobal
/
www
/
portal
/
vendor
/
azjezz
/
psl
/
src
/
Psl
/
Vec
/
Upload File:
files >> /home/kckglobal/www/portal/vendor/azjezz/psl/src/Psl/Vec/values.php
<?php declare(strict_types=1); namespace Psl\Vec; use function array_values; use function is_array; /** * Return all the values of an array. * * @template T * * @param iterable<T> $iterable * * @return list<T> */ function values(iterable $iterable): array { if (is_array($iterable)) { return array_values($iterable); } $result = []; foreach ($iterable as $value) { $result[] = $value; } return $result; }
Copyright ©2021 || Defacer Indonesia