[ticket/11632] Re-add offsetGet()

PHPBB3-11632