summaryrefslogtreecommitdiff
path: root/ext/dom/php_dom.h
diff options
context:
space:
mode:
authorDmitry Stogov <dmitry@zend.com>2017-10-30 12:04:15 +0300
committerDmitry Stogov <dmitry@zend.com>2017-10-30 12:04:15 +0300
commit2065d51a18e3aa4e08ff806b5a8994fd4ad05746 (patch)
treed9b0b006b4ac9e2cca588280786933491e7ccc53 /ext/dom/php_dom.h
parent1f5c0fad21e84af36c833a935693a357636d2a2d (diff)
downloadphp-git-2065d51a18e3aa4e08ff806b5a8994fd4ad05746.tar.gz
Better fix for bug #75451 (Assertion fails while foreach on empty xpath query)
Diffstat (limited to 'ext/dom/php_dom.h')
-rw-r--r--ext/dom/php_dom.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/dom/php_dom.h b/ext/dom/php_dom.h
index 30d143c351..8bcbcd8306 100644
--- a/ext/dom/php_dom.h
+++ b/ext/dom/php_dom.h
@@ -93,6 +93,7 @@ typedef struct _dom_nnodemap_object {
typedef struct {
zend_object_iterator intern;
zval curobj;
+ HashPosition pos;
} php_dom_iterator;
#include "dom_fe.h"