summaryrefslogtreecommitdiff
path: root/zend/classimpl.cpp
diff options
context:
space:
mode:
authorMartijn Otto <martijn.otto@copernica.com>2016-05-19 10:55:43 +0200
committerMartijn Otto <martijn.otto@copernica.com>2016-05-19 10:55:43 +0200
commit248318dd608ede0b597951ff45c22164ee4f71d0 (patch)
tree270aa501ef15ad3a35b2b5a1cbba4fe608674c00 /zend/classimpl.cpp
parentb45572340321f909142266e973faac116429d2b3 (diff)
Updated the required PHP version and correctly install the classimpl pointer in the doc_comment
Diffstat (limited to 'zend/classimpl.cpp')
-rw-r--r--zend/classimpl.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/zend/classimpl.cpp b/zend/classimpl.cpp
index 75191f5..7ced789 100644
--- a/zend/classimpl.cpp
+++ b/zend/classimpl.cpp
@@ -1439,6 +1439,9 @@ zend_class_entry *ClassImpl::initialize(ClassBase *base, const std::string &pref
// copy over the 'this'-pointer after the null-character
std::memcpy(ZSTR_VAL(_self) + 1, &impl, sizeof(impl));
+ // install the doc_comment
+ _entry->info.user.doc_comment = _self;
+
// set access types flags for class
_entry->ce_flags = (int)_type;