Is it possible to retrieve all the functions included in a global variable?
I’m using a very complex plugin (not written by me) that call the functions in this way:
$GLOBALS['myplugin']->member->isActive()
Is there a way to retreive all the functions of $GLOBALS['myplugin']->member?
You may find some success with
get_class_methods(), passing in the name of the class thatmemberis an instance of, or the object instance itself.