#28781 [Opn->Csd]: No results from reflection API getDocComment
| From: | helly@php.net | Date: | Mon, 14 Jun 2004 19:09:55 +0000 |
| Subject: | #28781 [Opn->Csd]: No results from reflection API getDocComment | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-60908@lists.php.net to get a copy of this message | ||
ID: 28781
Updated by: helly@php.net
Reported By: D dot Kingma at jool dot nl
-Status: Open
+Status: Closed
Bug Type: Zend Engine 2 problem
Operating System: Win XP
PHP Version: 5CVS-2004-06-14 (dev)
New Comment:
This bug has been fixed in CVS.
Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
Thank you for the report, and for helping us make PHP better.
Previous Comments:
------------------------------------------------------------------------
[2004-06-14 20:55:57] D dot Kingma at jool dot nl
Description:
------------
The getDocComment method from the reflection API (reflectionMethod /
reflectionClass) doesn't give any results sinds the latest update to
the reflection API (~4days ago).
Reproduce code:
---------------
class testReflection{
/**
* Function to test the getDocComment() method
*/
function getComment(){
}
}
$x=new reflectionMethod('testReflection','getComment');
$comment=$x->getDocComment();
echo "Comment: '$comment'";
Expected result:
----------------
Comment: '* Function to test the getDocComment() method'
Actual result:
--------------
Comment: ''
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=28781&edit=1