Consider:
[all] hostname = all name = thisname db.host = 127.0.0.1 db.user = username db.pass = password db.name = live one.two.three = multi [staging] hostname = staging db.name = dbstaging debug = false extends = all
Calling:
$config = new Zend_Config_Ini('config.ini', 'staging');
results in hostname = all, rather than hostname = staging.
Of course, this will become moot once ZF-352 is implemented...
ZF-352