For everything in the current area:
print_r(get_defined_vars());
I donβt think there is a solution to reset all variables from all areas, because you will need to actually run these functions / methods in order to get a complete and intact map of all available variables (variables could be created, added and deleted at runtime).
, , - , .
?