ZF-550: Possible Alternative for ctype_alpha()

Issue Type: Improvement Created: 2006-11-14T12:24:55.000+0000 Last Updated: 2007-07-05T14:43:28.000+0000 Status: Resolved Fix version(s): - 0.6.0 (16/Dec/06)

Reporter: Gavin (gavin) Assignee: Thomas Weidner (thomas) Tags: - Zend_Locale

Related issues: - ZF-249



If any i18n/l10n components need ctype_alpha(), instead of implementing ctype_alpha() using PHP, see possible alternative described in ZF-249.



### Comments

Posted by Gavin (gavin) on 2006-11-17T11:19:19.000+0000

Thomas wrote: {quote}1.) Not all languages seemed to be supported 2.) Performance problems if used in standard... should be selectable when used if use it or not 3.) This way ALL characters would be given... So if we have "Exámplé" it would also returned but á and è are not contained within the english characterset. Could lead to problems...

Not sure if there are other related issues but this was what came me in mind.{quote}



Posted by Gavin (gavin) on 2006-11-17T14:18:31.000+0000

This issue is not exactly a dependency, but use of this trick in the ZF should be consistent, if it is used at all.



Posted by Thomas Weidner (thomas) on 2006-12-17T12:37:15.000+0000

We already fixed the related issue by using the /u parameter with preg\_match.



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.