diff options
Diffstat (limited to 'ext/simplexml/php_simplexml.h')
-rw-r--r-- | ext/simplexml/php_simplexml.h | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/ext/simplexml/php_simplexml.h b/ext/simplexml/php_simplexml.h index a824f4ee7b..a6d5ffc7ff 100644 --- a/ext/simplexml/php_simplexml.h +++ b/ext/simplexml/php_simplexml.h @@ -1,6 +1,6 @@ /* +----------------------------------------------------------------------+ - | PHP Version 5 | + | PHP Version 7 | +----------------------------------------------------------------------+ | Copyright (c) 1997-2016 The PHP Group | +----------------------------------------------------------------------+ @@ -24,6 +24,9 @@ extern zend_module_entry simplexml_module_entry; #define phpext_simplexml_ptr &simplexml_module_entry +#include "php_version.h" +#define PHP_SIMPLEXML_VERSION PHP_VERSION + #ifdef ZTS #include "TSRM.h" #endif @@ -55,7 +58,6 @@ typedef enum { } SXE_ITER; typedef struct { - zend_object zo; php_libxml_node_ptr *node; php_libxml_ref_obj *document; HashTable *properties; @@ -65,10 +67,11 @@ typedef struct { xmlChar *nsprefix; int isprefix; SXE_ITER type; - zval *data; + zval data; } iter; - zval *tmp; + zval tmp; zend_function *fptr_count; + zend_object zo; } php_sxe_object; #ifdef ZTS |