src/ArrayLib.php
public static function getLastIndex(array &$inputArray, $removeElement=false)
    {
        $arrayIndexes = array_keys($inputArray);
        return self::getLastElement($arrayIndexes, $removeElement);
    }
public static function getLastIndex(array &$inputArray, $removeElement=false)
    {
        $arrayIndexes = array_keys($inputArray);
        return self::getLastElement($arrayIndexes, $removeElement);
    }
public static function getLastIndex ( array & $ inputArray , $ removeElement = false ) { $ arrayIndexes = array_keys ( $ inputArray ) ; return self :: getLastElement ( $ arrayIndexes , $ removeElement ) ; }
Returns the last index in the provided array
@param array $inputArray - the array we want the last index of
@param bool $removeElement - override to true if you want to also remove the element
@return mixed
Returns the last index in the provided array