Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:73730 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 85061 invoked from network); 17 Apr 2014 18:13:08 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 17 Apr 2014 18:13:08 -0000 Authentication-Results: pb1.pair.com header.from=arvids.godjuks@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=arvids.godjuks@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.192.53 as permitted sender) X-PHP-List-Original-Sender: arvids.godjuks@gmail.com X-Host-Fingerprint: 209.85.192.53 mail-qg0-f53.google.com Received: from [209.85.192.53] ([209.85.192.53:47611] helo=mail-qg0-f53.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 19/70-15765-2B910535 for ; Thu, 17 Apr 2014 14:13:07 -0400 Received: by mail-qg0-f53.google.com with SMTP id f51so769142qge.40 for ; Thu, 17 Apr 2014 11:13:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=ZlEbw+TkhjhvgOWlyTCDNeBIGIfSscrxfW+Q6rLxyaQ=; b=uRsysyJXbcDWvdiA1qISFTsLB1CRDvgiPAa0lb6MTYJxLO1TPzk2jdNMYyLWKiRPTY b+dvPZMAXqv0G1FD96/hdQOuL3WM7xnlt9j+zYWNLL3h3YK2jzqze6nfecmPQQFcju6X IoSjCBXmHiPhg/2fYIC+g4hg9diahT9pU717IsBNbhao9+ITNKdauZ6RMIQZWnRISlm4 zjTmu2TY3FkqdD4DiHbXRI7ZtfLVV7rcWhvRGyDg+92wVmrwg8kAxJ7JzYW7iir1kZt7 fWnfX3iiXJziNNKz6C0zwBVPUL4kljn4IPub8S2ACb5A/1TVL8Sc3oHLBMaJeMqISOKG R/cA== MIME-Version: 1.0 X-Received: by 10.140.33.244 with SMTP id j107mr12462767qgj.81.1397758384218; Thu, 17 Apr 2014 11:13:04 -0700 (PDT) Received: by 10.140.85.37 with HTTP; Thu, 17 Apr 2014 11:13:04 -0700 (PDT) Received: by 10.140.85.37 with HTTP; Thu, 17 Apr 2014 11:13:04 -0700 (PDT) In-Reply-To: <741A3502-E5A4-4DF3-B41D-6BFDEB11217A@seancoates.com> References: <1397744009.2829.3212.camel@guybrush> <1397747255.2829.3225.camel@guybrush> <534FF26E.6070602@lerdorf.com> <838439B2-6179-4748-9EC1-525BF8D37072@seancoates.com> <534FFF3B.2020404@googlemail.com> <741A3502-E5A4-4DF3-B41D-6BFDEB11217A@seancoates.com> Date: Thu, 17 Apr 2014 21:13:04 +0300 Message-ID: To: Sean Coates Cc: PHP internals , Crypto Compress Content-Type: multipart/alternative; boundary=001a113aa980f9426e04f740fb45 Subject: Re: [PHP-DEV] Negative string offsets From: arvids.godjuks@gmail.com (Arvids Godjuks) --001a113aa980f9426e04f740fb45 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 17 =D0=B0=D0=BF=D1=80. 2014 =D0=B3. 20:25 =D0=BF=D0=BE=D0=BB=D1=8C=D0=B7=D0= =BE=D0=B2=D0=B0=D1=82=D0=B5=D0=BB=D1=8C "Sean Coates" =D0=BD=D0=B0=D0=BF=D0=B8=D1=81=D0=B0=D0=BB: > > > "foobarbazbuz"[4-7] =3D> "barb" > > > Just in case this happens to slip past anyone's radar: no. > > S > > Same from me. Although the syntax and ability is for the most part usefull, people forget the unicode problem. What should we let it traverse? Bytes or characters? Right now it is bytes, but it is rarelly used and people use functions and mb_* for unicode. This can be discussed only when we have full unicode, before that it is useless and just generates a ton of problems and takes time implementing from other more usefull stuff. A giant -1 from me. --001a113aa980f9426e04f740fb45--