From: Marcus Boerger Date: Sun, 24 Apr 2005 17:32:05 +0000 (+0000) Subject: - Need to copy doc comments correct for properties X-Git-Tag: php-5.0.1b1~436 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=20e67fd175ca174992f6899b1f4edb4fd2077754;p=php - Need to copy doc comments correct for properties --- diff --git a/Zend/zend_compile.c b/Zend/zend_compile.c index 06ba979436..e1c2637b52 100644 --- a/Zend/zend_compile.c +++ b/Zend/zend_compile.c @@ -42,6 +42,9 @@ ZEND_API zend_executor_globals executor_globals; static void zend_duplicate_property_info(zend_property_info *property_info) { property_info->name = estrndup(property_info->name, property_info->name_length); + if (property_info->doc_comment) { + property_info->doc_comment = estrndup(property_info->doc_comment, property_info->doc_comment_len); + } }