feature: add method arrayKeys with an additional support for ArrayObject

wouldn't `$filename[-1]` be the same thing?