|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2015-01-09 01:02 UTC] ajf@php.net
-Package: Feature/Change Request
+Package: Reflection related
[2015-01-09 01:02 UTC] ajf@php.net
-Operating System: windows
+Operating System: *
-PHP Version: 5.2.5
+PHP Version: *
[2018-09-29 17:08 UTC] nikic@php.net
-Status: Open
+Status: Wont fix
[2018-09-29 17:08 UTC] nikic@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Oct 29 19:00:01 2025 UTC |
Description: ------------ Can the use of docBlock templates be included when the getDocComment() is called? Reproduce code: --------------- class SomeClass { /**#@+ * @access public */ /** * @return string */ public function someMethod() { return "" } /**#@-*/ } $o = new ReflectionMethod("SomeClass","someMethod"); echo $o->getDocComment(); Expected result: ---------------- /** * Comments... * @access public * @return string */ Actual result: -------------- /** * Comments... * @return string */