Is there a way to get user-defined php functions, variables, constants from a php file? Following functions are not the best way to do so because they get all decalred funct
call get_defined_functions, then include the file, call get_defined_functions once again and compute the difference.
get_defined_functions