private function saveUserSettings() { foreach ($this->userSettingsToSave as $key) { $this->userSettings[$key] = ini_get($key); } }