Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:60543 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 45793 invoked from network); 13 May 2012 14:15:48 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 13 May 2012 14:15:48 -0000 Authentication-Results: pb1.pair.com header.from=nikita.ppv@googlemail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=nikita.ppv@googlemail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain googlemail.com designates 209.85.217.170 as permitted sender) X-PHP-List-Original-Sender: nikita.ppv@googlemail.com X-Host-Fingerprint: 209.85.217.170 mail-lb0-f170.google.com Received: from [209.85.217.170] ([209.85.217.170:38987] helo=mail-lb0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id A5/03-16338-212CFAF4 for ; Sun, 13 May 2012 10:15:47 -0400 Received: by lbgc1 with SMTP id c1so3101102lbg.29 for ; Sun, 13 May 2012 07:15:43 -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=2m0nqGe7V8MDbWIi3pXR4SsIeFjVUi9dJp3o5HgCRPk=; b=Uw9zBlon2x1iaE69eDLGnUZ2rC6Jsl5AIVeQ02bJd1uwYdoTmWw1/u+INcMhoyWP1N vrANFGdQwNROQpU4LkUs71fMjgWxw3j41slatYreu1fZbDE6ca0u1XyJhfklWUP3RZ8o g7OtuidDEWoGkH7NuPuXm70nxIJOijwIROhB1TUHeOOBKjo8sTw7rr/ZXyqs/QMvChad JPtdRrdKLl9AuEhlTvwmR4kHLoQy7rZPvwVVJJ3omEPBKCXPyjJeoGWCcn/b+sE6s5sN rNQDXKU+/se5IB9KdZhwyOtqzwoz6flK5W+QqXu/Kh5ijZzVLVx2WKgErXYMXVyL8Wjy aGyA== MIME-Version: 1.0 Received: by 10.112.49.68 with SMTP id s4mr2183980lbn.27.1336918543468; Sun, 13 May 2012 07:15:43 -0700 (PDT) Received: by 10.152.1.196 with HTTP; Sun, 13 May 2012 07:15:43 -0700 (PDT) In-Reply-To: References: Date: Sun, 13 May 2012 16:15:43 +0200 Message-ID: To: Pierre Joye Cc: Gustavo Lopes , internals@lists.php.net Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: [PHP-DEV] Re: [VOTE] Vote change for empty() RFC From: nikita.ppv@googlemail.com (Nikita Popov) On Sun, May 13, 2012 at 3:14 PM, Pierre Joye wrote: > hi, > > On Sun, May 13, 2012 at 3:07 PM, Gustavo Lopes wrote: > >> The rule is that "a feature affecting the language itself (new syntax for >> example) will be considered as 'accepted' if it wins a 2/3 of the votes". 13 >> votes in 20 is not 2/3 of the votes. So the question is whether any of the >> persons that voted for "both empty() and isset()" prefers "only empty()" to >> "none. > > It is not the same. As far as I can tell, this RFC (no matter which > option) is not accepted and we keep the current behavior untouched. I'm not sure I can follow. The vote has three options, of which two are quite similar. I don't see how the 2/3 rule for votes with two options can be applied here, in such a black&white fashion. We had at least one precedent of a vote with three options, where the option that was implemented in the end had only 59% of the votes. That was the vote for the callable typehint [1]. The three options were: * Callable: 34 * Callback: 18 * Neither: 6 I think that vote was very similar to this one. Two of the options were "in favor", but differed in the exact implementation, and the last option was "against". The only difference is that in this case one option actually has 65%, not 59%. Additionally I want to note that in this case there was a more general Yes/No vote before the more precise one, which ended with 12:2 (86% in favor). Nikita [1]: https://wiki.php.net/todo/php54/vote#doodle__form__callable_typecheck_in_arguments_choose_which_name_you_prefer