Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:77102 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 26411 invoked from network); 8 Sep 2014 12:04:37 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 8 Sep 2014 12:04:37 -0000 Authentication-Results: pb1.pair.com header.from=shashankkumar.me@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=shashankkumar.me@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.217.177 as permitted sender) X-PHP-List-Original-Sender: shashankkumar.me@gmail.com X-Host-Fingerprint: 209.85.217.177 mail-lb0-f177.google.com Received: from [209.85.217.177] ([209.85.217.177:33693] helo=mail-lb0-f177.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 41/54-26504-35B9D045 for ; Mon, 08 Sep 2014 08:04:35 -0400 Received: by mail-lb0-f177.google.com with SMTP id l4so4082531lbv.36 for ; Mon, 08 Sep 2014 05:04:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=QBbxxG9rCcd/LkJm8qJ7wwvuE/9SMeqHK+flxX1ljk8=; b=da9zAg2Y3gwxZbQEXKowBhWuxf33cDrXGClznxs3ktMWUz/yE/d+1881I2bTR2ghJW cpSMNULfL7FdkV/uXWRVSkg+bw0LM0b3C8jE5lmHie91xezJOqOvAuDSji+8tgUHiRLZ Dp6FzrNGNZjgdvIpG/BhAIW8eIM2Au7+C0BN3qpylTXtvtewP8XEjPKKULF5jcIPVucs dk2C8SfojlIo2vXnYNL0N/btiasnqd1c6xn53IKj6fynRnPbRg4tadBfV0c2NHJ3J9il s1JSnf96dmxVTu89mJeAnhu59Y/7bZj/9QkbnoKUR2qgUn8X3FiiYNZ9icVtTgO+zhUP bfhw== X-Received: by 10.152.5.9 with SMTP id o9mr2219211lao.95.1410177872233; Mon, 08 Sep 2014 05:04:32 -0700 (PDT) MIME-Version: 1.0 Received: by 10.112.162.229 with HTTP; Mon, 8 Sep 2014 05:04:12 -0700 (PDT) In-Reply-To: References: <540D638B.8010303@php.net> Date: Mon, 8 Sep 2014 17:34:12 +0530 Message-ID: To: Sherif Ramadan Cc: Michael Wallner , Andrea Faulds , Pierre Joye , PHP internals Content-Type: multipart/alternative; boundary=089e013d17ce251d6a05028c9f6c Subject: Re: [PHP-DEV] [RFC] Implicit isset() in Shorthand Ternary Operator From: shashankkumar.me@gmail.com (Shashank Kumar) --089e013d17ce251d6a05028c9f6c Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi Andrea Rather than giving a new meaning to an old operator why not have a different operator for this? .NET has a 'null coalescing' operator for the same purpose which works out quite well in the given situation and is non-ambiguous as well. http://msdn.microsoft.com/en-us/library/ms173224.aspx =E2=80=8B --089e013d17ce251d6a05028c9f6c--