get_defined_vars()
The get_defined_vars() function returns an array of all defined variables in the current scope. This is useful for debugging and inspecting the state of your application.