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:54:55 +0000 |
commit | 11cf826b8960f0d9af5368b1af90ac3f81947f16 (patch) | |
tree | f15390ab884f78c33c8b51f0f9d425aa1f0ee468 /ext/reflection/php_reflection.c | |
parent | 5449095c4fdf49246d3b85ac46ae42832ab1f291 (diff) | |
download | php-git-11cf826b8960f0d9af5368b1af90ac3f81947f16.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 7713137e89..461104f394 100644 --- a/ext/reflection/php_reflection.c +++ b/ext/reflection/php_reflection.c @@ -386,7 +386,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); } |