|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2004-06-14 21:09 UTC] helly@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Nov 06 18:00:01 2025 UTC |
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: ''