summaryrefslogtreecommitdiff
path: root/Zend/zend_API.h
diff options
context:
space:
mode:
authorMarcus Boerger <helly@php.net>2003-12-28 15:18:05 +0000
committerMarcus Boerger <helly@php.net>2003-12-28 15:18:05 +0000
commit15964bb35d9c9ec10c2fdcd8fb1cae17b8592c6d (patch)
treeeebddc9b745f0a1b407f2fd5047da1d9c325fcd2 /Zend/zend_API.h
parent05c78af8545780e01e7e823464e1a8bfcb1b2988 (diff)
downloadphp-git-15964bb35d9c9ec10c2fdcd8fb1cae17b8592c6d.tar.gz
Fix order of class_entry member initialization (needed for example for DOM)
# You need to completley rebuild PHP after this patch.
Diffstat (limited to 'Zend/zend_API.h')
-rw-r--r--Zend/zend_API.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Zend/zend_API.h b/Zend/zend_API.h
index 67818b860a..aab1d359ff 100644
--- a/Zend/zend_API.h
+++ b/Zend/zend_API.h
@@ -127,7 +127,9 @@ typedef struct _zend_function_entry {
class_container.__call = handle_fcall; \
class_container.__get = handle_propget; \
class_container.__set = handle_propset; \
+ class_container.parent = NULL; \
class_container.num_interfaces = 0; \
+ class_container.interfaces = NULL; \
class_container.get_iterator = NULL; \
class_container.iterator_funcs.funcs = NULL; \
}