<?php use kim\present\utils\arrays\ArrayUtils;
$arrayUtils = ArrayUtils::from(["orange", "banana", "apple", "raspberry", "kiwi"]);
$arrayUtils->reverse();
// expected output: ["kiwi", "raspberry", "apple", "banana", "orange"]
$arrayUtils->reverse(bool $preserveKeys = false) : ArrayUtils;
$arrayUtils->reverseAs(bool $preserveKeys = false) : array;
ArrayUtils::reverseFrom(iterable $from, bool $preserveKeys = false) : ArrayUtils;
ArrayUtils::reverseFromAs(iterable $from, bool $preserveKeys = false) : array;