From: Marcus Boerger Date: Sun, 13 Feb 2005 13:50:30 +0000 (+0000) Subject: - Add new test X-Git-Tag: RELEASE_0_2_4~73 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0a9e940ab776231bae235272bcb6615cbac7c067;p=php - Add new test --- diff --git a/ext/reflection/tests/005.phpt b/ext/reflection/tests/005.phpt new file mode 100755 index 0000000000..f337e44ae6 --- /dev/null +++ b/ext/reflection/tests/005.phpt @@ -0,0 +1,54 @@ +--TEST-- +ReflectionMethod::getDocComment() uses wrong comment block +--FILE-- +getDocComment())); + +foreach($r->getMethods() as $m) +{ + var_dump(strip_doc_comment($m->getDocComment())); +} + +?> +===DONE=== +--EXPECT-- +string(19) "Comment for class A" +string(15) "Method A::bla()" +bool(false) +bool(false) +string(22) "* Comment for A::baz()" +===DONE===