diff options
Diffstat (limited to 'tests/classes/constants_comments_001.phpt')
-rw-r--r-- | tests/classes/constants_comments_001.phpt | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/tests/classes/constants_comments_001.phpt b/tests/classes/constants_comments_001.phpt index 297ad9f956..46bf4fafff 100644 --- a/tests/classes/constants_comments_001.phpt +++ b/tests/classes/constants_comments_001.phpt @@ -5,22 +5,22 @@ opcache.save_comments=1 --FILE-- <?php class X { - /** comment X1 */ - const X1 = 1; - const X2 = 2; - /** comment X3 */ - const X3 = 3; + /** comment X1 */ + const X1 = 1; + const X2 = 2; + /** comment X3 */ + const X3 = 3; } class Y extends X { - /** comment Y1 */ - const Y1 = 1; - const Y2 = 2; - /** comment Y3 */ - const Y3 = 3; + /** comment Y1 */ + const Y1 = 1; + const Y2 = 2; + /** comment Y3 */ + const Y3 = 3; } $r = new ReflectionClass('Y'); foreach ($r->getReflectionConstants() as $rc) { - echo $rc->getName() . " : " . $rc->getDocComment() . "\n"; + echo $rc->getName() . " : " . $rc->getDocComment() . "\n"; } |