Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:53521 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 34090 invoked from network); 22 Jun 2011 15:00:49 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 22 Jun 2011 15:00:49 -0000 Authentication-Results: pb1.pair.com header.from=tyra3l@gmail.com; sender-id=pass; domainkeys=bad Authentication-Results: pb1.pair.com smtp.mail=tyra3l@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 74.125.83.42 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: tyra3l@gmail.com X-Host-Fingerprint: 74.125.83.42 mail-gw0-f42.google.com Received: from [74.125.83.42] ([74.125.83.42:43453] helo=mail-gw0-f42.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id EA/93-16772-493020E4 for ; Wed, 22 Jun 2011 11:00:45 -0400 Received: by gwb17 with SMTP id 17so422670gwb.29 for ; Wed, 22 Jun 2011 08:00:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=Z74Lw1+uM89BcRvB0gVDeul+RfnaiOuQuQZ5sBa6d68=; b=h0L9P+c4dz9xrVcXG8Mp2HGu2Ussz/OBYR7rOqxazZeghTWcOUMoObEzBBeIwNygSx Ti39A47sxoXSprVGDSUzTBeZvpO9YJsL/X08GqVvxf5iSpirhmKnD/sKTZJBX/Slo62Y S3+TShiek9zWUDweXGFPhS7DCw8VRqTeg3FWw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=W3Ttyx4bE9G9N1kovF6JzY066Vm1EQynptKmgcOhIG7Hy3kTLkeDfTEEdN03/AliwY ULgLtqfUfGqXe7G1G6gDDIVs1DaMBX0XXomeUXeqXQWOo0keNgo0cPFbi2JijiVMG3zK SYhdt3a+RNOZW3hbn1hPPoJfoSLyroyZNBhVE= MIME-Version: 1.0 Received: by 10.147.40.17 with SMTP id s17mr909558yaj.15.1308754827844; Wed, 22 Jun 2011 08:00:27 -0700 (PDT) Received: by 10.147.99.3 with HTTP; Wed, 22 Jun 2011 08:00:27 -0700 (PDT) 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:00:27 +0200 Message-ID: To: Reindl Harald Cc: internals@lists.php.net Content-Type: multipart/alternative; boundary=20cf305644459c9b1c04a64e3a05 Subject: Re: [PHP-DEV] foreach() for strings From: tyra3l@gmail.com (Ferenc Kovacs) --20cf305644459c9b1c04a64e3a05 Content-Type: text/plain; charset=UTF-8 On Wed, Jun 22, 2011 at 4:52 PM, Reindl Harald 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 --20cf305644459c9b1c04a64e3a05--