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
精彩评论