DOMNodeList elements are accessible through array notation

Fixes https://bugs.php.net/bug.php?id=67949 for the PHP-5.6 branch