---
layout: doc
title: contrib / variables.pre
---
# variables

### NAME

    variables - returns array of global variable names

### SYNOPSIS

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

### DESCRIPTION

    int == 0:
    returns array of global variable names

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

### SEE ALSO

    functions(3)
