Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:78282 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 20631 invoked from network); 23 Oct 2014 20:18:42 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 23 Oct 2014 20:18:42 -0000 Authentication-Results: pb1.pair.com smtp.mail=ajf@ajf.me; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=ajf@ajf.me; sender-id=pass Received-SPF: pass (pb1.pair.com: domain ajf.me designates 192.64.116.216 as permitted sender) X-PHP-List-Original-Sender: ajf@ajf.me X-Host-Fingerprint: 192.64.116.216 imap10-3.ox.privateemail.com Received: from [192.64.116.216] ([192.64.116.216:59883] helo=imap10-3.ox.privateemail.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 24/2D-41150-0A269445 for ; Thu, 23 Oct 2014 16:18:42 -0400 Received: from localhost (localhost [127.0.0.1]) by mail.privateemail.com (Postfix) with ESMTP id 530372400DC; Thu, 23 Oct 2014 16:18:37 -0400 (EDT) X-Virus-Scanned: Debian amavisd-new at imap10.ox.privateemail.com Received: from mail.privateemail.com ([127.0.0.1]) by localhost (imap10.ox.privateemail.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id KYQoV-vgo6V7; Thu, 23 Oct 2014 16:18:36 -0400 (EDT) Received: from [137.50.172.154] (oa-edu-172-154.wireless.abdn.ac.uk [137.50.172.154]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.privateemail.com (Postfix) with ESMTPSA id 783232400D4; Thu, 23 Oct 2014 16:18:35 -0400 (EDT) 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> Mime-Version: 1.0 (1.0) In-Reply-To: <54495CF6.30608@sugarcrm.com> Content-Type: text/plain; charset=gb2312 Content-Transfer-Encoding: quoted-printable Message-ID: Cc: =?GB2312?Q?Johannes_Schl=A8=B9ter?= , Joe Watkins , Dmitry Stogov , Philip Hofstetter , PHP Internals X-Mailer: iPhone Mail (12B411) Date: Thu, 23 Oct 2014 21:18:29 +0100 To: Stas Malyshev Subject: Re: [PHP-DEV] [RFC] UString From: ajf@ajf.me (Andrea Faulds) > On 23 Oct 2014, at 20:54, Stas Malyshev wrote: >=20 >> P.S. u() is a bad name, will break lots of code, i.e. >=20 > Maybe __u()? It's a bit ugly but you're not allowed to use __ so it's safe= . I don't like that. This might sound crazy, but what about adding Unicode str= ing literals to the parser, e.g. u"foo bar\u{202e}=C4=E3=BA=C3"? If the UStr= ing extension isn't available, just error. It wouldn't be the first time we h= ad disableable syntax features (``), and this avoids any possible conflicts.= -- Andrea Faulds http://ajf.me/=