Reply to Re: No more access to characters in strings in PHP 6?

Your name:

Reply:


Posted by Chung Leong on 11/02/72 11:32

Ewoud Dronkert wrote:
> Chung Leong wrote:
> > Usage of {} to access string offsets is deprecated and will be removed
> > in PHP 6
> >
> > What do you think of that?
>
> That would be a shocker, unless they intend to go back to array-type
> indexing with square brackets (deprecated as of v4). I must admit I don't
> use it very often, but it's kind of a standard feature for any language,
> isn't it? It would be a drag to always have to use substr(,,1).

What I worry about is that they'll make text string a closed structure.
If strings are to be encoded in UTF-8 internally, then they might need
to remove character-level access. I must say I really dislike the
direction PHP is heading.

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация