$nestSeparator =
(string) $options['nestSeparator'
];
if ($nestSeparator === ''
) { throw new UnexpectedValueException('nestSeparator must be a non-empty string'
);
} $this->_nestSeparator =
$nestSeparator;
} if (isset($options['skipExtends'
])) { $this->_skipExtends =
(bool) $options['skipExtends'
];
} } $iniArray =
$this->
_loadIniFile($filename);
if ($section === null
) { // Load entire file
$dataArray =
[];
foreach ($iniArray as $sectionName =>
$sectionData) { if (!\
is_array($sectionData)) { $dataArray =
$this->
_arrayMergeRecursive($dataArray,
$this->
_processKey([],
$sectionName,
$sectionData));
} else { $dataArray[$sectionName] =
$this->
_processSection($iniArray,
$sectionName);
} }