summaryrefslogtreecommitdiff
path: root/zend/classimpl.cpp
diff options
context:
space:
mode:
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;