mirror of
https://github.com/php/php-src.git
synced 2025-08-19 08:49:28 +02:00
- Fixed bug #55156 (ReflectionClass::getDocComment() returns comment even though the class has none)
# Patch was not committed on the PHP5.3 branch
This commit is contained in:
parent
0bea1fea8f
commit
ef48624cd3
1 changed files with 6 additions and 0 deletions
|
@ -5184,6 +5184,12 @@ void zend_do_begin_namespace(const znode *name, zend_bool with_bracket TSRMLS_DC
|
||||||
efree(CG(current_import));
|
efree(CG(current_import));
|
||||||
CG(current_import) = NULL;
|
CG(current_import) = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (CG(doc_comment)) {
|
||||||
|
efree(CG(doc_comment));
|
||||||
|
CG(doc_comment) = NULL;
|
||||||
|
CG(doc_comment_len) = 0;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
/* }}} */
|
/* }}} */
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue