From: maikelvm at hotmail dot com Operating system: windows PHP version: 5.2.5 PHP Bug Type: Feature/Change Request Bug description: docblock templates with getDocComment()
Description: ------------ Can the use of docBlock templates be included when the getDocComment() is called? Reproduce code: --------------- class SomeClass { /[EMAIL PROTECTED] * @access public */ /** * @return string */ public function someMethod() { return "" } /[EMAIL PROTECTED]/ } $o = new ReflectionMethod("SomeClass","someMethod"); echo $o->getDocComment(); Expected result: ---------------- /** * Comments... * @access public * @return string */ Actual result: -------------- /** * Comments... * @return string */ -- Edit bug report at http://bugs.php.net/?id=43770&edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=43770&r=trysnapshot44 Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=43770&r=trysnapshot52 Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=43770&r=trysnapshot53 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=43770&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=43770&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=43770&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=43770&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=43770&r=needscript Try newer version: http://bugs.php.net/fix.php?id=43770&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=43770&r=support Expected behavior: http://bugs.php.net/fix.php?id=43770&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=43770&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=43770&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=43770&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=43770&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=43770&r=dst IIS Stability: http://bugs.php.net/fix.php?id=43770&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=43770&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=43770&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=43770&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=43770&r=mysqlcfg