--TEST-- Bug #50174 (Incorrectly matched docComment) --FILE-- getDocComment()); class TestClass2 { /** const comment */ const C = 0; public $x; } $rp = new ReflectionProperty('TestClass2', 'x'); var_dump($rp->getDocComment()); ?> --EXPECT-- bool(false) bool(false)