I have the next INI file:
a.b.c = 1 a.b.d.e = 2
I am parsing this file using parse_ini_file. And it returns:
array( \'a
Have a look at the Zend_Config_Ini class. It does what you want, you can use it standalone (without the rest of Zend Framework) and as a bonus it supports section inheritance.
With the toArray method you can create an array from the config object.
toArray