public Object lastKey() {
        if (size == 0) {
            throw new NoSuchElementException("Map is empty");
        }

        return header.before.getKey();
    }
Gets the last key in the map, which is the first inserted.

@return the eldest key
jphp-runtime/src/php/runtime/memory/support/ArrayMemoryMap.java