diff options
Diffstat (limited to 'ext/reflection/tests/ReflectionClass_getDocComment_001.phpt')
-rw-r--r-- | ext/reflection/tests/ReflectionClass_getDocComment_001.phpt | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/ext/reflection/tests/ReflectionClass_getDocComment_001.phpt b/ext/reflection/tests/ReflectionClass_getDocComment_001.phpt index 624829f014..31e0e8e58b 100644 --- a/ext/reflection/tests/ReflectionClass_getDocComment_001.phpt +++ b/ext/reflection/tests/ReflectionClass_getDocComment_001.phpt @@ -11,8 +11,8 @@ opcache.save_comments=1 My -Doc - * Comment +Doc + * Comment for A * */ @@ -49,8 +49,8 @@ final class G extends C implements I {} {} $classes = array('A', 'B', 'C', 'D', 'E', 'F', 'G', 'I'); foreach ($classes as $class) { echo "\n\n---> Doc comment for class $class:\n"; - $rc = new ReflectionClass($class); - var_dump($rc->getDocComment()); + $rc = new ReflectionClass($class); + var_dump($rc->getDocComment()); } @@ -63,8 +63,8 @@ string(%d) "/** My -Doc - * Comment +Doc + * Comment for A * */" |