diff options
| author | Felipe Pena <felipe@php.net> | 2010-08-14 01:12:43 +0000 |
|---|---|---|
| committer | Felipe Pena <felipe@php.net> | 2010-08-14 01:12:43 +0000 |
| commit | fdb6077fdaf2cf283cd1afede7be0cab40f2972e (patch) | |
| tree | 5848f72dcee2c72ff1e898fc57e40a570d4fd304 /Zend/zend_API.h | |
| parent | 9806c212599fa03a32022c77deb291a1f8409e56 (diff) | |
| download | php-git-fdb6077fdaf2cf283cd1afede7be0cab40f2972e.tar.gz | |
- Missing traits data initialization for internal classes (causing Reflection to crash)
Diffstat (limited to 'Zend/zend_API.h')
| -rw-r--r-- | Zend/zend_API.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Zend/zend_API.h b/Zend/zend_API.h index 12544e2559..32f40b2b77 100644 --- a/Zend/zend_API.h +++ b/Zend/zend_API.h @@ -195,6 +195,10 @@ typedef struct _zend_fcall_info_cache { class_container.unserialize = NULL; \ class_container.parent = NULL; \ class_container.num_interfaces = 0; \ + class_container.traits = NULL; \ + class_container.num_traits = 0; \ + class_container.trait_aliases = NULL; \ + class_container.trait_precedences = NULL; \ class_container.interfaces = NULL; \ class_container.get_iterator = NULL; \ class_container.iterator_funcs.funcs = NULL; \ |
