com php-src: fix ReflectionClass::__toString doc bl ock omitted: ext/reflection/php_reflection.c

From: Date: Wed, 20 Jan 2016 10:52:27 +0000
Subject: com php-src: fix ReflectionClass::__toString doc bl ock omitted: ext/reflection/php_reflection.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-90709@lists.php.net to get a copy of this message
Commit: b899656eb0bd3d56caf8adebeef0ab3b2421e413 Author: Joe Watkins <krakjoe@php.net> Wed, 20 Jan 2016 10:52:27 +0000 Parents: c7c3b967a550b4f1137d6a7b2bf56ec1e4f6dbbd Branches: PHP-7.0 Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=b899656eb0bd3d56caf8adebeef0ab3b2421e413 Log: fix ReflectionClass::__toString doc block omitted Changed paths: M ext/reflection/php_reflection.c Diff: diff --git a/ext/reflection/php_reflection.c b/ext/reflection/php_reflection.c index b81ce75..8e6a3c0 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); }

« previous php.cvs (#90709) next »