ZF-9023: Zend_Memory::factory() not supports name of the class backend camelcase

Issue Type: Bug Created: 2010-01-30T09:54:18.000+0000 Last Updated: 2010-02-01T07:54:23.000+0000 Status: Resolved Fix version(s): - 1.10.1 (10/Feb/10)

Reporter: Ramon Henrique Ornelas (ramon) Assignee: Alexander Veremyev (alexander) Tags: - Zend_Memory

Related issues: Attachments: - Memory.php.patch


Zend_Memory::factory() problem when passed first param name class backend camelcase.

Problem in line 57.

<pre class="highlight">
$backend = @ucfirst(strtolower($backend));

example: ZendPlatform


Posted by Ramon Henrique Ornelas (ramon) on 2010-01-30T10:02:07.000+0000

Attached patch.

Solution in patch replicated code Zend_Cache::_normalizeName(). Other solution change the visibility in the method Zend_Cache::_normalizeName(), for public.

Posted by Alexander Veremyev (alexander) on 2010-02-01T07:54:21.000+0000


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.