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

From: Date: Wed, 20 Jan 2016 10:54:55 +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-90711@lists.php.net to get a copy of this message
Commit: 11cf826b8960f0d9af5368b1af90ac3f81947f16 Author: Joe Watkins <krakjoe@php.net> Wed, 20 Jan 2016 10:52:27 +0000 Parents: 5449095c4fdf49246d3b85ac46ae42832ab1f291 Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=11cf826b8960f0d9af5368b1af90ac3f81947f16 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 7713137..461104f 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); }

« previous php.cvs (#90711) next »