Issues

ZF-10216: Zend_Filter_Word_CamelCaseToUnderscore is not the opposite of Zend_Filter_Word_UnderscoreToCamelCase

Issue Type: Docs: Improvement Created: 2010-07-23T17:05:27.000+0000 Last Updated: 2010-07-29T12:43:15.000+0000 Status: Resolved Fix version(s): - 1.11.0 (02/Nov/10)

Reporter: Devis Lucato (devisl) Assignee: Thomas Weidner (thomas) Tags: - Zend_Filter

Related issues: Attachments:

Description

A user could assume that Zend_Filter_Word_CamelCaseToUnderscore is the opposite of Zend_Filter_Word_UnderscoreToCamelCase.

The result instead could be different due to letter casing, adding to the documentation an example like the following could be helpful.

<pre class="highlight"> 
     first_name
 
          => Zend_Filter_Word_UnderscoreToCamelCase 

               =>FirstName

                     => Zend_Filter_Word_CamelCaseToUnderscore 

                            => First_Name

Comments

Posted by Thomas Weidner (thomas) on 2010-07-29T12:43:12.000+0000

Fixed with r22722

Have you found an issue?

See the Overview section for more details.

Copyright

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

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

Contacts