PDA

View Full Version : List all variables


filburt1
11-04-2002, 03:16 PM
Is there a way to get a list of all assign variables? i.e., like print_r() prints the values of every array value, but instead of array values, variables.

Admin
11-04-2002, 03:32 PM
print_r($GLOBALS) or get_defined_vars().

filburt1
11-04-2002, 03:58 PM
Thanks

* filburt1 whistles, jeez vB defines a lot of vars :o