ZF-11548: BC break in Zend_Application_Resource_Modules

Description

The init now returns a real array instead of an arrayobject. This can break compatibilty (as it did with my app). The problem is Zend_Application_Resource_Modules::$_bootstraps

The following does not work any more.


$bootstrap->modules->admin

//It's now
$bootstrap->modules['admin']

Comments

Fixed in trunk and 1.11 release branch. A test was added to ensure that the bootstraps are stored in an ArrayObject.