Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:84122 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 67087 invoked from network); 1 Mar 2015 21:11:56 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 1 Mar 2015 21:11:56 -0000 Authentication-Results: pb1.pair.com smtp.mail=yohgaki@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=yohgaki@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.216.169 as permitted sender) X-PHP-List-Original-Sender: yohgaki@gmail.com X-Host-Fingerprint: 209.85.216.169 mail-qc0-f169.google.com Received: from [209.85.216.169] ([209.85.216.169:45731] helo=mail-qc0-f169.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 6D/72-53678-B9083F45 for ; Sun, 01 Mar 2015 16:11:55 -0500 Received: by qcvp6 with SMTP id p6so21722525qcv.12 for ; Sun, 01 Mar 2015 13:11:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc:content-type; bh=V1YDA0h3oPI2+c7h1lyS90sCRPqw5O9pjA9E5/McadY=; b=gDe6+Z3jM/rgcoO+/2f2RLq/St0qMdvRPmDRNA06f43zGSRDibhARA0lewR/7YGijk e+JKW/z1CvJSFCoJQlgf5TyTwrWzmSxQPNyzhUGiovcKG2f15Hm1T1o3D6qv949+jFHu 3YBtxl+/9za/db85arwMhoK2Hk0feXc0aF9xxa8YyIsWlc7ghWdjGq7Tq68pOMy+y5DA 72RZnAY66ABVqRow5TCHhplzLxBj3Xj1lfTLdJ825FNe+vwaQzO3hK9RTTzJpjpIMFLU rXo7qprw+rAFh4/fLvbjsYaSfW0BNQhPHlor4dJAeUBTyripwpuzkd+lyxRXLIK4gPSB uLmg== X-Received: by 10.140.217.200 with SMTP id n191mr46022845qhb.29.1425244312293; Sun, 01 Mar 2015 13:11:52 -0800 (PST) MIME-Version: 1.0 Sender: yohgaki@gmail.com Received: by 10.229.198.8 with HTTP; Sun, 1 Mar 2015 13:11:12 -0800 (PST) In-Reply-To: References: <1413875212.2624.3.camel@localhost.localdomain> <54469840.3070708@sugarcrm.com> <1414051917.2624.35.camel@localhost.localdomain> <1414060726.2624.60.camel@localhost.localdomain> <1414072403.3228.3.camel@kuechenschabe> <87D717D5-273B-4A32-A3E5-83EBDFD314CB@ajf.me> <1414077690.3228.12.camel@kuechenschabe> <54495CF6.30608@sugarcrm.com> <1414130585.2624.64.camel@localhost.localdomain> Date: Mon, 2 Mar 2015 06:11:12 +0900 X-Google-Sender-Auth: 5p0-UxhetxktamD5iEaARPTljDY Message-ID: To: Florian Margaine Cc: Derick Rethans , PHP Internals , Joe Watkins Content-Type: multipart/alternative; boundary=001a11373246f3d6f70510408c6d Subject: Re: [PHP-DEV] [RFC] UString From: yohgaki@ohgaki.net (Yasuo Ohgaki) --001a11373246f3d6f70510408c6d Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi Florian, On Mon, Mar 2, 2015 at 5:57 AM, Florian Margaine wrote: > Le 1 mars 2015 21:26, "Derick Rethans" a =C3=A9crit : > > > > Hey Joe, > > > > I think there are a few issues with the proposal, although I like the > > general idea. I've had the tab with the RFC open since October... but > > never looked at it until now :-/. So, a few comments: > > > > - UString as a name. > > > > I think I am going to prefer "Text" as a class name. Unicode (and > > intl/icu) have lots of operators acting on items containing unicode > > strings. But they are really pieces of text. For example sentences, wor= d > > break iterators, etc. UString *feels* clunky, and not "standard". If > > it's going to be part of PHP core, then we should pick a "core" name. (= I > > might prefer String, but that's going to cause a whole lot of issues > > obviously). > > Isn't this "solved" if we use \php\String? > I suppose we need "Context Sensitive Lexer" for "String", but I guess it passes. Let's use namespace for new internal classes at least. Regards, -- Yasuo Ohgaki yohgaki@ohgaki.net --001a11373246f3d6f70510408c6d--