Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:53522 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 39647 invoked from network); 22 Jun 2011 15:08:03 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 22 Jun 2011 15:08:03 -0000 Authentication-Results: pb1.pair.com smtp.mail=robert@xarg.org; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=robert@xarg.org; sender-id=unknown Received-SPF: error (pb1.pair.com: domain xarg.org from 209.85.212.42 cause and error) X-PHP-List-Original-Sender: robert@xarg.org X-Host-Fingerprint: 209.85.212.42 mail-vw0-f42.google.com Received: from [209.85.212.42] ([209.85.212.42:53501] helo=mail-vw0-f42.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id CC/D4-16772-155020E4 for ; Wed, 22 Jun 2011 11:08:02 -0400 Received: by vwl1 with SMTP id 1so740913vwl.29 for ; Wed, 22 Jun 2011 08:07:59 -0700 (PDT) MIME-Version: 1.0 Received: by 10.220.189.13 with SMTP id dc13mr269301vcb.169.1308755279537; Wed, 22 Jun 2011 08:07:59 -0700 (PDT) Received: by 10.220.100.146 with HTTP; Wed, 22 Jun 2011 08:07:59 -0700 (PDT) X-Originating-IP: [78.55.49.127] In-Reply-To: <4E0201A6.5050507@thelounge.net> References: <4E008EA3.4000403@lsces.co.uk> <41269.5975f3c3.1308671739.nsm@avilys.eik.lt> <4E00C370.9040803@thelounge.net> <4E00C5D0.9020302@thelounge.net> <57392.5975f3c3.1308676323.nsm@avilys.eik.lt> <4E00DA33.9040504@thelounge.net> <58008.5975f3c3.1308687593.nsm@avilys.eik.lt> <4E00FEAC.3040500@thelounge.net> <52139.5975f3c3.1308720282.nsm@avilys.eik.lt> <4E01CEA0.2090607@thelounge.net> <4E01DE36.40009@thelounge.net> <4E01F0C6.6040401@thelounge.net> <4E01F1E0.4090900@toolpark.com> <4E01F38D.9070307@thelounge.net> <4E01F4B0.9040804@lerdorf.com> <4E01F5D6.2080600@thelounge.net> <4E01F6D4.5050302@lerdorf.com> <4E01F771.4010609@thelounge.net> <4E0201A6.5050507@thelounge.net> Date: Wed, 22 Jun 2011 17:07:59 +0200 Message-ID: To: Reindl Harald Cc: internals@lists.php.net Content-Type: multipart/alternative; boundary=90e6ba4fc3ae88e6eb04a64e55b5 Subject: Re: [PHP-DEV] foreach() for strings From: robert@xarg.org (Robert Eisele) --90e6ba4fc3ae88e6eb04a64e55b5 Content-Type: text/plain; charset=ISO-8859-1 1. The number of CHARs isn't unrelevant in a general manner. It depents on the application, even if the trend goes towards UTF8 for websites. 2. Within 10 years, you could have come to a working solution which could please us all. 3. Stop flaming and focus on your other day-job instead. 2011/6/22 Reindl Harald > > > 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? > > > > > --90e6ba4fc3ae88e6eb04a64e55b5--