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

Issue Type: Bug Created: 2010-04-21T01:02:02.000+0000 Last Updated: 2010-07-16T17:15:08.000+0000 Status: Resolved Fix version(s): - 1.10.7 (28/Jul/10)

Reporter: Martin Haso? (hason) Assignee: Ramon Henrique Ornelas (ramon) Tags: - Zend_Loader

Related issues: Attachments: - PluginLoader.patch


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.


Posted by Martin Haso? (hason) on 2010-04-21T01:04:26.000+0000


Posted by Ramon Henrique Ornelas (ramon) on 2010-07-16T17:15:08.000+0000

Fixed with the r22604.

Have you found an issue?

See the Overview section for more details.


© 2006-2018 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.