lib/IniModifier.php
public function setValues($values, $section = 0)
    {
        foreach ($values as $name => $val) {
            if (is_array($val)) {
                // let's ignore key values, we don't want them
                $i = 0;
                foreach ($val as $arval) {
                    $this->setValue($name, $arval, $section, $i++);
                }
            } else {
                $this->setValue($name, $val, $section);
            }
        }
    }
public function setValues($values, $section = 0)
    {
        foreach ($values as $name => $val) {
            if (is_array($val)) {
                // let's ignore key values, we don't want them
                $i = 0;
                foreach ($val as $arval) {
                    $this->setValue($name, $arval, $section, $i++);
                }
            } else {
                $this->setValue($name, $val, $section);
            }
        }
    }
public function setValues ( $ values , $ section = 0 ) { foreach ( $ values as $ name => $ val ) { if ( is_array ( $ val ) ) { // let's ignore key values, we don't want them $ i = 0 ; foreach ( $ val as $ arval ) { $ this -> setValue ( $ name , $ arval , $ section , $ i ++ ) ; } } else { $ this -> setValue ( $ name , $ val , $ section ) ; } } }
modify several options in the ini file.

@param array  $value   associated array with key=>value
@param string $section the section where to set the item. 0 is the global section
modify several options in the ini file .