芝麻web文件管理V1.00
编辑当前文件:/home/qrafawbu/qrafiqxcreativeagency.com/accounts/office/vendor/azjezz/psl/src/Psl/Vec/reverse.php
Vec('qux', 'baz', 'bar', 'foo') * * @template T * * @param iterable
$iterable The iterable to reverse. * * @return list
*/ function reverse(iterable $iterable): array { $values = namespace\values($iterable); if ([] === $values) { return []; } $size = Iter\count($values); $result = []; for ($i = $size - 1; $i >= 0; $i--) { $result[] = $values[$i]; } return $result; }