Re: foreach() for strings

From: Date: Wed, 22 Jun 2011 15:00:27 +0000
Subject: Re: foreach() for strings
References: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20  Groups: php.internals 
Request: Send a blank email to internals+get-53521@lists.php.net to get a copy of this message
On Wed, Jun 22, 2011 at 4:52 PM, Reindl Harald <h.reindl@thelounge.net>wrote: > > > Am 22.06.2011 16:49, schrieb Ferenc Kovacs: > > after 10 years i want solutions where it is not the road to hell > using any > > string function on user-input and since PHP6 seems to be quite dead > > it feels there will never be a trustable solution > > > > > > you made my day. > > boy :) > > after fetch a mail-client which does not convert plain-text to html > tell me how long should we wait until as example strlen() does return > the number of CHARS instead bytes because this low level information > is not needed on the script side and simply wrong by multibyte input > > what happended with PHP6? aside the trolling parts, I'm pretty surprised that you are so uninformed about how utf-8 works in general and what happened with php6 when your are lurking on this list for years and especially the what happened with PHP6 was discussed on this list and in this very thread. Tyrael

« previous php.internals (#53521) next »