Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:93029 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 3513 invoked from network); 2 May 2016 07:56:07 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 2 May 2016 07:56:07 -0000 Authentication-Results: pb1.pair.com smtp.mail=mike.php.net@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=mike.php.net@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 74.125.82.53 as permitted sender) X-PHP-List-Original-Sender: mike.php.net@gmail.com X-Host-Fingerprint: 74.125.82.53 mail-wm0-f53.google.com Received: from [74.125.82.53] ([74.125.82.53:37836] helo=mail-wm0-f53.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 66/68-03860-51807275 for ; Mon, 02 May 2016 03:56:07 -0400 Received: by mail-wm0-f53.google.com with SMTP id a17so129242579wme.0 for ; Mon, 02 May 2016 00:56:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:subject:to:references:cc:from:message-id:date:user-agent :mime-version:in-reply-to; bh=c9fhUxbc2YVX7HkyDy1XvcfgVdzFCj5j3MQwMI0yeHU=; b=k4AmydE0VELJsmNbXghwnmgutkCG7MjmEOweqmYefE4fg/s9+j8BE8xzNI7c4zBqXK qGxTMPhBWnTrB7GxthQVTaLrkdtyOa0/8hEEOumVvcHA6shRjw0RAfs97E7B2HXdhk6w RMoeQ0P0IJlY9gfXdCq4Y8yIgvwRjU2YR+63LW1E/98CAs7dhoj5b15n9NyPPzss6V/X xo2Z8EiqEqba79mSm+I6ultLnHtj3Ubm6x+odFYYTq1sARPsVFqf81uoyuTaq2zV6M3j fhJPPiSCAgF6mPbrq4f6yk1V6CXx/4BIQKp5odG14NGux8ROF9It+5dChUVqWOBQPW5/ w7yQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:subject:to:references:cc:from:message-id :date:user-agent:mime-version:in-reply-to; bh=c9fhUxbc2YVX7HkyDy1XvcfgVdzFCj5j3MQwMI0yeHU=; b=jYCG/QMdifAABchlCqyJozum1SgtdQWbzY6dgRu0X04/wI+9Gv/TZnwd2B0BC1YAIm Rmcfz/iKu7rXQTmxktb6nqUvQT0MaYbQin8w0UDEyPYlYi1wq6pVnTg5Ap5mfsiHGD/a nKe4pXlkkMPngcCEpZAPpilE7Ddewo838/VQt9TQ0DJahrIbqyqrcgQH6IvF/MfaK0C6 mOE/u/5xsBJLlSCiz97EFll20MK7y2zY48mzIpKzJD+Sdjrou3OlgNJKhxCvuKJRHEnz GSDWBLVKhGAPg7ryZ2nlpUbzhmPt2YwKnG8unDrF09XDt4QylnyAkDRhdOQB3QvSairo JYqw== X-Gm-Message-State: AOPr4FXUrCdlPHbGEEU4aeHRTh3zqSKCQl6ubG5qvhF1bz6gnYt7DfUmGhoDu1CNMj1cSg== X-Received: by 10.194.48.33 with SMTP id i1mr39749631wjn.53.1462175762362; Mon, 02 May 2016 00:56:02 -0700 (PDT) Received: from [192.168.2.120] (89-104-28-113.customer.bnet.at. [89.104.28.113]) by smtp.googlemail.com with ESMTPSA id g132sm17428603wme.0.2016.05.02.00.56.00 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 02 May 2016 00:56:01 -0700 (PDT) Sender: Michael Wallner To: Sara Golemon , Lester Caine References: <8ea990da-1fe7-256c-4e08-0b30715c8e8a@gmail.com> <5724F3F8.5070909@garfieldtech.com> <044e2f8b-db5f-4fca-8490-b7526e97cdf8.maildroid@localhost> Cc: PHP internals , Larry Garfield Message-ID: <57270810.9080504@php.net> Date: Mon, 2 May 2016 09:56:00 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.7.1 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="v1dvUhSBoHK6KXMv9cKHU5UCGfGFV2ohA" Subject: Re: [PHP-DEV] [RFC] Pipe Operator From: mike@php.net (Michael Wallner) --v1dvUhSBoHK6KXMv9cKHU5UCGfGFV2ohA Content-Type: multipart/mixed; boundary="I1P6qTVEv5oxx9EM1K73M35VvDcsL4fVv" From: Michael Wallner To: Sara Golemon , Lester Caine Cc: PHP internals , Larry Garfield Message-ID: <57270810.9080504@php.net> Subject: Re: [PHP-DEV] [RFC] Pipe Operator References: <8ea990da-1fe7-256c-4e08-0b30715c8e8a@gmail.com> <5724F3F8.5070909@garfieldtech.com> <044e2f8b-db5f-4fca-8490-b7526e97cdf8.maildroid@localhost> In-Reply-To: --I1P6qTVEv5oxx9EM1K73M35VvDcsL4fVv Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 30/04/16 20:57, Sara Golemon wrote: > On Sat, Apr 30, 2016 at 11:41 AM, wrote: >> God I hate crap software ... TRYING to reply without top post ... but = Samsung is incapable! >> >> What I was trying to comment on was that trapping that no result is re= turned may be what is needed, so handling the empty array rather than a n= ull return just means having to remember what you do use :( >> > What follows is a terrible idea and I don't mean to propose it as a > solution, but to spark further conversation: >=20 > $result =3D getData() > ?> doStuffWith($$) I thought this was the "PHP, stop messing around with my HTML" operator? > :> actOnFailureOf($$); >=20 > Basically, a chaining ternary such that the result of the condition > expression propagates to the true/false expressions. Not really the > same feature at this point, but a similar chaining-friendly take on > the standard ternary. Just thinking out loud... --=20 Regards, Mike --I1P6qTVEv5oxx9EM1K73M35VvDcsL4fVv-- --v1dvUhSBoHK6KXMv9cKHU5UCGfGFV2ohA Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQEcBAEBCgAGBQJXJwgQAAoJEEgOPhSwpMfHmHIIAJUVVpmIL9LAPnxCqdMvqgvk 2u+TpvdOaWmg3oJKaoIINBZRCeOwg76HwnpZKOKYwMT5SBpHmlkSc8/OLWCW3UtI trorWPFUmDKbTDn2Zdk8d4iUlm5z3dnKNe/qzocRLd6jZvDoYZNUpGp5bkWM5Glf F93djohN9jrQWzM0E9A2MEHJoqDaQ8g5FTV5ORsnVVaTYyt5WAEnJDvzYZaE2I2P /K+/pVSlvPer26ibvXcSN+3Eo1wSiFuz5i7Xuttkr0mfZp/Kb/nggAQlQDYM4HhH p7fhqvRK/zQ7SOYsyvgnCk5HOj2jAh8QRnBLL1yQUhii4MiyYWSd2kiHXRgwFCE= =qCbU -----END PGP SIGNATURE----- --v1dvUhSBoHK6KXMv9cKHU5UCGfGFV2ohA--