News Feed
Sections




News Archive
feed this:

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



Community Events





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


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

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