News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Andrei Zmievski's Blog:
All the Little Pieces, or TextIterator in PHP 6
July 14, 2006 @ 05:55:15

On Andrei Zmievski's blog today, there's a new post looking at new features of the upcoming PHP6 series - specifically dealing with internationalization and Unicode support.

I have been working on the Unicode support in PHP for quite a while now and I figure that it is time to start talking about Unicode and I18N in general and specifically about some of the new features that PHP 6 will be bringing to the table.

He first covers the new TextIterator class, as "swiss-army kife-like" tool that gives the user abilities to work with text units (really their boundaries) in a simple, normalized way. Of course, definitions and code follow to illustrate the point with examples ranging from interpreting a string out to grabbing certain bits of the string.

He also introduces the opposite twin of the TextIterator class - ReverseTextIterator. It's basic function is to (basically) do everything its twin does, only in reverse.

0 comments voice your opinion now!
textiterator reversetextiterator php6 unicode internationalization class textiterator reversetextiterator php6 unicode internationalization class


blog comments powered by Disqus

Similar Posts

Zumba Engineering Blog: Mocking Singleton PHP classes with PHPUnit

PHPHacks.com: Creating charts with JGraph

Justin Silverton\'s Blog: Flickr.com - PHP/mysql case study

PHP-Tools Blog: I18n and such

Andrei Zmievski's Blog: Linux.com interview


Community Events





Don't see your event here?
Let us know!


testing configure interview unittest language developer refactor opinion community series install threedevsandamaybe list wordpress podcast code framework release laravel introduction

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework