ZF-9721: Method removePrefixPath in Zend_Loader_PluginLoader.php deletes path with key 0

Description

If is set variable $path in method removePrefixPath (Zend_Loader_PluginLoader) and $path doesn't exists in array $registry[$prefix] then function array_search return false (PHP 4.2.0+) instead null! Now method deletes $registry[$prefix][0] (equivalent to $registry[$prefix][false]), although it was not the intention.

Comments

Patch

Fixed with the r22604.