lib/IniModifierArray.php
public function getValues($section = 0)
    {
        $finalValues = array();
        foreach ($this->modifiers as $mod) {
            $values = $mod->getValues($section);
            if (!count($values)) {
                continue;
            }
            if (!count($finalValues)) {
                $finalValues = $values;
                continue;
            }
            foreach ($values as $key => &$value) {
                if (!isset($finalValues[$key])) {
                    $finalValues[$key] = $value;
                    continue;
                }
                if (is_array($value) && is_array($finalValues[$key])) {
                    $finalValues[$key] = array_merge($finalValues[$key], $value);
                } else {
                    $finalValues[$key] = $value;
                }
            }
        }

        return $finalValues;
    }
public function getValues($section = 0)
    {
        $finalValues = array();
        foreach ($this->modifiers as $mod) {
            $values = $mod->getValues($section);
            if (!count($values)) {
                continue;
            }
            if (!count($finalValues)) {
                $finalValues = $values;
                continue;
            }
            foreach ($values as $key => &$value) {
                if (!isset($finalValues[$key])) {
                    $finalValues[$key] = $value;
                    continue;
                }
                if (is_array($value) && is_array($finalValues[$key])) {
                    $finalValues[$key] = array_merge($finalValues[$key], $value);
                } else {
                    $finalValues[$key] = $value;
                }
            }
        }

        return $finalValues;
    }
return all values of a section from all ini files.

@param string $section the section from wich we want values. 0 is the global section

@return array the list of values, $key=>$value