|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #28781 No results from reflection API getDocComment
Submitted: 2004-06-14 20:55 UTC Modified: 2004-06-14 21:09 UTC
From: D dot Kingma at jool dot nl Assigned:
Status: Closed Package: Scripting Engine problem
PHP Version: 5CVS-2004-06-14 (dev) OS: Win XP
Private report: No CVE-ID: None
 [2004-06-14 20:55 UTC] D dot Kingma at jool dot nl
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');
echo "Comment: '$comment'";

Expected result:
Comment: '* Function to test the getDocComment() method'

Actual result:
Comment: ''


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2004-06-14 21:09 UTC]
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
Thank you for the report, and for helping us make PHP better.
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Mon Jun 14 22:01:23 2021 UTC