Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:97868 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 83129 invoked from network); 19 Jan 2017 10:25:14 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 19 Jan 2017 10:25:14 -0000 Authentication-Results: pb1.pair.com smtp.mail=yohgaki@ohgaki.net; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=yohgaki@ohgaki.net; sender-id=pass Received-SPF: pass (pb1.pair.com: domain ohgaki.net designates 180.42.98.130 as permitted sender) X-PHP-List-Original-Sender: yohgaki@ohgaki.net X-Host-Fingerprint: 180.42.98.130 ns1.es-i.jp Received: from [180.42.98.130] ([180.42.98.130:43762] helo=es-i.jp) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id C7/CE-00729-80490885 for ; Thu, 19 Jan 2017 05:25:13 -0500 Received: (qmail 64602 invoked by uid 89); 19 Jan 2017 10:25:08 -0000 Received: from unknown (HELO mail-wm0-f51.google.com) (yohgaki@ohgaki.net@74.125.82.51) by 0 with ESMTPA; 19 Jan 2017 10:25:08 -0000 Received: by mail-wm0-f51.google.com with SMTP id r144so69851255wme.1 for ; Thu, 19 Jan 2017 02:25:07 -0800 (PST) X-Gm-Message-State: AIkVDXLefOR9mjV55d6W6D/dm6eIB1fgMyNKc/EuM3PLtnWcyWYWrfMN1jEZYN+iiahEiGPgWn5R+yikZxZZ5Q== X-Received: by 10.28.230.194 with SMTP id e63mr6623190wmi.25.1484821501003; Thu, 19 Jan 2017 02:25:01 -0800 (PST) MIME-Version: 1.0 Received: by 10.195.12.8 with HTTP; Thu, 19 Jan 2017 02:24:20 -0800 (PST) In-Reply-To: <3a114d40-f661-45e9-0e0d-155367adc2b7@telia.com> References: <71557808-5718-0406-3df9-830bc2e03006@gmail.com> <5024e8b2-4a4d-4a12-99f3-a539c9930337@gmail.com> <3a114d40-f661-45e9-0e0d-155367adc2b7@telia.com> Date: Thu, 19 Jan 2017 19:24:20 +0900 X-Gmail-Original-Message-ID: Message-ID: To: =?UTF-8?Q?Bj=C3=B6rn_Larsson?= Cc: David Rodrigues , Sara Golemon , Rowan Collins , PHP internals Content-Type: multipart/alternative; boundary=001a1147c8241f504605466ff278 Subject: Re: [PHP-DEV] Pipe Operator v2 From: yohgaki@ohgaki.net (Yasuo Ohgaki) --001a1147c8241f504605466ff278 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Mon, Jul 25, 2016 at 11:52 PM, Bj=C3=B6rn Larsson wrote: > Den 2016-07-22 kl. 17:05, skrev David Rodrigues: > > It's possible to use the tilde ~ easyly on keyboards? >> For on BR/ABNT2 is easy. So maybe use ~> as operator could be fine, >> instead of the triangle |>, and linear sounds good too, like: >> $string~>escape($$)~>dump($$); >> >> It's used currently on PHP for a bitwise operation (not), so I think >> that the usage are not a problem in general. >> Too will not have a conflict, because ~> no make any sense to PHP today. >> > There was an RFC proposing that operator for short closures, see: > - https://wiki.php.net/rfc/short_closures > > Recall that the operator was a bit controversial due to > e.g. japanese keyboard. Personally I liked the proposal > and I think the "pipe" sign fit well into an pipe operator:) I'm surprised someone noticed Japanese "~" char issue. We have "~" char issue, but it would not be problem for programmers. I guess you mentioned this issue. https://ja.wikipedia.org/wiki/%E6%B3%A2%E3%83%80%E3%83%83%E3%82%B7%E3%83%A5 http://qiita.com/kasei-san/items/3ce2249f0a1c1af1cbd2 They are written in Japanese. Please use google translate or similar. Wrongly configured keyboard could be another problem. We may ignore such environment. Regards, -- Yasuo Ohgaki yohgaki@ohgaki.net --001a1147c8241f504605466ff278--