classes/phing/types/Environment.php
public function getVariables()
    {
        if ($this->variables->count() === 0) {
            return null;
        }
        return array_map(
            function ($env) {
                return $env->getContent();
            },
            $this->variables->getArrayCopy()
        );
    }
public function getVariables()
    {
        if ($this->variables->count() === 0) {
            return null;
        }
        return array_map(
            function ($env) {
                return $env->getContent();
            },
            $this->variables->getArrayCopy()
        );
    }
public function getVariables ( ) { if ( $ this -> variables -> count ( ) === 0 ) { return null ; } return array_map ( function ( $ env ) { return $ env -> getContent ( ) ; } , $ this -> variables -> getArrayCopy ( ) ) ; }
get the variable list as an array

@return array of key=value assignment strings
@throws BuildException if any variable is misconfigured
get the variable list as an array