diff options
author | Florian MARGAINE <florian@margaine.com> | 2014-09-26 18:25:56 +0200 |
---|---|---|
committer | Florian MARGAINE <florian@margaine.com> | 2014-09-27 01:27:46 +0200 |
commit | 9469db93110b2185f019da0dd66d3537c1a4b7a4 (patch) | |
tree | 3d985dfe2f33cc4fe411cb3cd2f7ced007e6a90b /ext/dom/php_dom.h | |
parent | 71c39612d5702920dfd198b37254b8bb06454b47 (diff) | |
download | php-git-9469db93110b2185f019da0dd66d3537c1a4b7a4.tar.gz |
DOMNodeList elements are accessible through array notation
Fixes #67949
Diffstat (limited to 'ext/dom/php_dom.h')
-rw-r--r-- | ext/dom/php_dom.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/dom/php_dom.h b/ext/dom/php_dom.h index f5f0bc6a72..eb35aa015d 100644 --- a/ext/dom/php_dom.h +++ b/ext/dom/php_dom.h @@ -123,6 +123,9 @@ xmlNode *php_dom_libxml_hash_iter(xmlHashTable *ht, int index); xmlNode *php_dom_libxml_notation_iter(xmlHashTable *ht, int index); zend_object_iterator *php_dom_get_iterator(zend_class_entry *ce, zval *object, int by_ref TSRMLS_DC); int dom_set_doc_classmap(php_libxml_ref_obj *document, zend_class_entry *basece, zend_class_entry *ce TSRMLS_DC); +zval *dom_nodelist_read_dimension(zval *object, zval *offset, int type TSRMLS_DC); +int dom_nodelist_has_dimension(zval *object, zval *member, int check_empty TSRMLS_DC); +static int dom_nodelist_fetch_dimension(xmlNodePtr *itemnode, zval *offset, dom_nnodemap_object *objmap, zval *rv TSRMLS_DC); #define REGISTER_DOM_CLASS(ce, name, parent_ce, funcs, entry) \ INIT_CLASS_ENTRY(ce, name, funcs); \ |