Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:60377 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 83496 invoked from network); 30 Apr 2012 13:05:50 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 30 Apr 2012 13:05:50 -0000 Authentication-Results: pb1.pair.com smtp.mail=nikita.ppv@googlemail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=nikita.ppv@googlemail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain googlemail.com designates 209.85.215.42 as permitted sender) X-PHP-List-Original-Sender: nikita.ppv@googlemail.com X-Host-Fingerprint: 209.85.215.42 mail-lpp01m010-f42.google.com Received: from [209.85.215.42] ([209.85.215.42:56072] helo=mail-lpp01m010-f42.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 1D/8B-13197-D2E8E9F4 for ; Mon, 30 Apr 2012 09:05:50 -0400 Received: by lahl5 with SMTP id l5so1881140lah.29 for ; Mon, 30 Apr 2012 06:05:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=+IGMnFiKyVlf5JU8K6KOPtMpO0ETa7BNdlcAeGvQYgY=; b=pUYjdyqnvUxUi0Zcecc0yqISLnLRyCtzRRuQ44YjQvh73OXBRKq1HjCEJb5dqtfy52 JxWxrWg0tWPDTWz1VMAiugqALlNQKGBT47TxlDMZS5fXyqOWk0n47QofK5AttXPSaYPU j/Q3aY5uhOWgtB6HC8cBTwLu5yoDDe1vfl79XPqfs6P+Q29dx6iAOCoZmkClp7A1GT6B 6zw4g1KmQ/xBHyXDGMputmm0y8q1WxEVMk1yczcX9aCI80ELdTTNjUAOHY2ks+H4gzAl 5y4V3tZ9sx4IFSDZuMs91vt5y93tW5S/G/Nv160XSW9GBe3E4dOf4VCxCrXcR+bAyp8l ZMVw== MIME-Version: 1.0 Received: by 10.152.112.161 with SMTP id ir1mr19894137lab.13.1335791145686; Mon, 30 Apr 2012 06:05:45 -0700 (PDT) Received: by 10.152.1.196 with HTTP; Mon, 30 Apr 2012 06:05:45 -0700 (PDT) In-Reply-To: References: Date: Mon, 30 Apr 2012 15:05:45 +0200 Message-ID: To: Patrick ALLAERT Cc: PHP internals Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: [PHP-DEV] [RFC] Allow non-variable arguments to empty() and isset() From: nikita.ppv@googlemail.com (Nikita Popov) On Mon, Apr 30, 2012 at 9:50 AM, Patrick ALLAERT wrote: > Hi, > > 2012/4/12 Nikita Popov : >> PS: I added isset() too, to address the consistency concerns mentioned on IRC. > > I would have voted +1 if it didn't contain the isset() change. None of > the examples used in the isset_with_expr.phpt test seems logic to me. > > Care to explain the consistency concerns here? > > Patrick I changed the vote to have three options: "Both empty() and isset()", "Only empty()" or "None" https://wiki.php.net/rfc/empty_isset_exprs#vote Nikita