I have a strange problem with Zend_Config_Xml.
Here is an example.
With this xml file https://gist.github.com/883465
this code:
$confi
It seems that Zend_Config_Xml explicitly collapses such 1-element collections (there's an if
statement in the source that does this). Some possible workarounds:
get()
to include your ugly workaround in a cleaner way.