开发者

PHP - How to get a list of class's member function?

If I know class's开发者_开发问答 name. Is there a way to know class's member function list ?


get_class_methods() is your friend


You can use PHP's reflection API to get all kinds of useful information about classes.

Here's some tutorials:

http://www.tuxradar.com/practicalphp/16/4/0

http://mark-story.com/posts/view/using-the-php-reflection-api-for-fun-and-profit

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜