Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:84664 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 62926 invoked from network); 13 Mar 2015 06:46:14 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 13 Mar 2015 06:46:14 -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.50 as permitted sender) X-PHP-List-Original-Sender: cryptocompress@googlemail.com X-Host-Fingerprint: 74.125.82.50 mail-wg0-f50.google.com Received: from [74.125.82.50] ([74.125.82.50:37735] helo=mail-wg0-f50.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 65/CA-24603-6B782055 for ; Fri, 13 Mar 2015 01:46:14 -0500 Received: by wggx13 with SMTP id x13so21177779wgg.4 for ; Thu, 12 Mar 2015 23:46:11 -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:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=mChAS9Kqe5UUr8cTSBR9yFnUSMlWw+uDeUJfK8VlG3Q=; b=O5cq2NRi/OCNEDirDtUfLAq/FogNxRd1ywiLxZnb594halwrHGjTDURiScve+KnjBJ F48iYTgNwA+MCdhcgPSbyDHFHIosUFHmRjwjOgRya2EbgloEkvGcHtnpL+CxifboIsd2 MKRQHOaWWM4YzLZbmSPBUFja0O/788q6MlBtA+BU5R0vZgXgJZdBRuffVLzTGEE4MinZ eSGNCrwQ6Fem2EGSmlf88zMFqQKlb4DGeXfQb0vi7sgr0hkyzvkg3N/rSNZv1yTQKyQ6 fe6Wcb6KKQKuUoqZF5h9YyEGlmwJJk8l7GxghFl85D2w79emQ+tT99/4io+cDYDciZ8T yTqw== X-Received: by 10.194.77.99 with SMTP id r3mr95200131wjw.149.1426229171668; Thu, 12 Mar 2015 23:46:11 -0700 (PDT) Received: from [192.168.1.115] (mnch-4d04c8b8.pool.mediaways.net. [77.4.200.184]) by mx.google.com with ESMTPSA id lb6sm1471821wjb.22.2015.03.12.23.46.10 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 12 Mar 2015 23:46:10 -0700 (PDT) Message-ID: <550287B1.3080001@googlemail.com> Date: Fri, 13 Mar 2015 07:46:09 +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: PHP Developers Mailing List References: ,, In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] [VOTE] Make empty() a Variadic From: cryptocompress@googlemail.com (Crypto Compress) Am 12.03.2015 um 20:42 schrieb Thomas Punt: > The only compromise I can think of (though not sure on its feasibility) would be > to have a flag as the last parameter that defaulted to logically AND'ing its args > with the ability to switch the semantics to logically OR the args. Hello Thomas, how about two separate methods all_empty() and non[e]_empty()? Thank you!