contrib / variables.pre

Edit on Github

mixed *variables(object, int default: 0);

int == 0: returns array of global variable names

int != 0 returns array of arrays of variable name & type

see functions(3)