phalcon/cphalcon — pull request #872 by kjdev (2013-07-18 03:15:14+00:00)
Title: dot directive parsing of ini files.

Update dot direvtive parse of Ini files.

INI file.
```
# test.ini
[test]
parent.property = On
parent.property2 = "yeah"
parent.property3.baseuri = /phalcon/
parent.property4.models.metadata = memory
parent.property5.database.adapter = mysql
parent.property5.database.host = localhost
parent.property5.database.username = user
parent.property5.database.password = passwd
parent.property5.database.name = demo
parent.property6.test[] = a
parent.property6.test[] = b
parent.property6.test[] = c
```

PHP execute.
```
$ini = new \Phalcon\Config\Adapter\Ini('/test.ini');
$ini->toArray();
```

Result (default)
```
array(
'test' => array(
'parent' => array(
'property' => 1,
'property2' => 'yeah',
'property3' => '/phalcon/',
'property4' => 'memory',
'property5' => 'demo',
'property6' => array(a', 'b', 'c'),
)))
```

Result (Update source)
```
array(
'test' => array(
'parent' => array(
'property' => 1,
'property2' => 'yeah',
'property3' => array('baseuri' => '/phalcon/'),
'property4' => array(
'models' => array('metadata' => 'memory')
),
'property5' => array(
'database' => array(
'adapter' => 'mysql',
'host' => 'localhost',
'username' => 'user',
'password' => 'passwd',
'name' => 'demo')
),
'property6' => array(
'test' => array('a', 'b', 'c')
))))
```