ce->doc_comment and ReflectionClass::getDocComment
| From: | Piotr Pokora | Date: | Fri, 27 Feb 2009 15:07:06 +0000 |
| Subject: | ce->doc_comment and ReflectionClass::getDocComment | ||
| Groups: | php.pecl.dev | ||
| Request: | Send a blank email to pecl-dev+get-6174@lists.php.net to get a copy of this message | ||
Hi!
Why internal class (registered in extension) can not provide own doc block?
if (ce->type == ZEND_USER_CLASS && ce->doc_comment) {
RETURN_STRINGL(ce->doc_comment, ce->doc_comment_len, 1);
}
Reflection works very nice for internal classes. Why this method can not?
Piotras