diff options
author | Joe Watkins <krakjoe@php.net> | 2016-01-20 10:52:27 +0000 |
---|---|---|
committer | Joe Watkins <krakjoe@php.net> | 2016-01-20 10:52:27 +0000 |
commit | b899656eb0bd3d56caf8adebeef0ab3b2421e413 (patch) | |
tree | e9c6ce6fc7e1be9729f4d85fe16af9fad308653a /ext/reflection/php_reflection.c | |
parent | c7c3b967a550b4f1137d6a7b2bf56ec1e4f6dbbd (diff) | |
download | php-git-b899656eb0bd3d56caf8adebeef0ab3b2421e413.tar.gz |
fix ReflectionClass::__toString doc block omitted
Diffstat (limited to 'ext/reflection/php_reflection.c')
-rw-r--r-- | ext/reflection/php_reflection.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/reflection/php_reflection.c b/ext/reflection/php_reflection.c index b81ce75525..8e6a3c0d71 100644 --- a/ext/reflection/php_reflection.c +++ b/ext/reflection/php_reflection.c @@ -383,7 +383,7 @@ static void _class_string(string *str, zend_class_entry *ce, zval *obj, char *in /* TBD: Repair indenting of doc comment (or is this to be done in the parser?) */ if (ce->type == ZEND_USER_CLASS && ce->info.user.doc_comment) { - string_printf(str, "%s%s", indent, ce->info.user.doc_comment); + string_printf(str, "%s%s", indent, ZSTR_VAL(ce->info.user.doc_comment)); string_write(str, "\n", 1); } |