I\'m trying to write a function that formats every (string) member/variable in an object, for example with a callback function. The variable names are unknown to me, so it m
You are looking for get_object_vars / get_class_methods (the first gets the variables, the second the method names).