Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:84780 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 59292 invoked from network); 14 Mar 2015 16:05:52 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 14 Mar 2015 16:05:52 -0000 Authentication-Results: pb1.pair.com header.from=cryptocompress@googlemail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=cryptocompress@googlemail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain googlemail.com designates 74.125.82.46 as permitted sender) X-PHP-List-Original-Sender: cryptocompress@googlemail.com X-Host-Fingerprint: 74.125.82.46 mail-wg0-f46.google.com Received: from [74.125.82.46] ([74.125.82.46:36789] helo=mail-wg0-f46.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 51/21-52108-D5C54055 for ; Sat, 14 Mar 2015 11:05:51 -0500 Received: by wgra20 with SMTP id a20so9397993wgr.3 for ; Sat, 14 Mar 2015 09:05:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=lK1AJ6mW++UgoE6+JQPBNBXzvMJwQQBW9bQxc5GbqLo=; b=wN0hzp+Vd+P1Tgb+QeZmAIp8vAtb/wKmh/XM0OIhfF4lHg5Fm/yTQ4uU9uA4nQkeUU zCRvP7oySbfWr0zNG0KJARF7YFU9R9oDrsRVu/hfuGsn8URW1uxDB5xUn8W4JzYUq5e8 S+NXzc4k7iydfMATHnwcB2T22iVFOSvjFr8a/q2jmVvZDoK5wSXJ+EGozkUOZ597LoY4 ffkLJqCAMLVlo9+MuP3QEkBggES5ARjjYNJ9cMdnfchmd+72EIXp2l8PKyoCEjX74XQP fF5gG9HNEY8dSjwP+/+OamkEuHC7CJb3AMklXMLfPl10FlXFyY2Ef2wBVljjeiIdMPCU Z2pw== X-Received: by 10.194.93.165 with SMTP id cv5mr25685770wjb.24.1426349146803; Sat, 14 Mar 2015 09:05:46 -0700 (PDT) Received: from [192.168.1.115] (mnch-5d858cf9.pool.mediaWays.net. [93.133.140.249]) by mx.google.com with ESMTPSA id y14sm7514931wjr.39.2015.03.14.09.05.45 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 14 Mar 2015 09:05:45 -0700 (PDT) Message-ID: <55045C58.2040303@googlemail.com> Date: Sat, 14 Mar 2015 17:05:44 +0100 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 MIME-Version: 1.0 To: Matteo Beccati CC: PHP Developers Mailing List References: ,, <550287B1.3080001@googlemail.com> <5502A66A.5030706@beccati.com> <5503D5EB.4090502@googlemail.com> <5503F2A6.4050604@beccati.com> In-Reply-To: <5503F2A6.4050604@beccati.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] [VOTE] Make empty() a Variadic From: cryptocompress@googlemail.com (Crypto Compress) >>>> how about two separate methods all_empty() and non[e]_empty()? >>> How about empty() and full() ? >>> Ok, that was a bad attempt as a joke, but please no ;) >> don't get your point. Are you against my naming suggestions or the >> possibility to check many vars on emptiness? >> There are these two groups with contrary expectations. What is the >> downside to give both a proper solution? > The "proper solution" you suggest adds two more functions and I think > we plenty already. For current problem area there are exactly zero functions. > We can't make empty variadic because it's ambiguous? Fine, I think I > can live with it. Somewhat masochistic approach considering we can unambiguous get rid of code bloat.