Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:67726 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 74061 invoked from network); 18 Jun 2013 17:08:02 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 18 Jun 2013 17:08:02 -0000 Authentication-Results: pb1.pair.com header.from=leight@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=leight@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.212.180 as permitted sender) X-PHP-List-Original-Sender: leight@gmail.com X-Host-Fingerprint: 209.85.212.180 mail-wi0-f180.google.com Received: from [209.85.212.180] ([209.85.212.180:36343] helo=mail-wi0-f180.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 8D/B1-00171-1F390C15 for ; Tue, 18 Jun 2013 13:08:01 -0400 Received: by mail-wi0-f180.google.com with SMTP id c10so3453807wiw.13 for ; Tue, 18 Jun 2013 10:07:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=+zhwBZAvml9pCS/1scMte7BvV7WLSelkbA0jAuN+1Pc=; b=oYqnEDGIEj5NcBU9wklYhpTFF9ZKDi8rQdinJZpgsN4/LZhh42HBdN/IqmyFH+Dts5 jlfsQAKKywoi58O2D85farRQ4ybux0I3pixP3OCZGa2Hpzx/maOiM54xe768g4hcu/uA RBZBOvi4Xb8szrB1eVooYiHJzwTIdJTuSAf1qAv8zwRY6/rCjoPYwPHK+4UGf2CoKZaz r/Z0Oxon2rnzTihc1cabWFnlvTLUkW8iBIqdyOqQLZjOZ57rwgMKc0JuCCNw8zgzFX4O htZio8rDzUI9/Ifj689x1CXAco+bZXXcqUxN0DJhEZ/CJwXDbyTaR3xbgYJOyTvDP84w ozSg== MIME-Version: 1.0 X-Received: by 10.194.216.99 with SMTP id op3mr7348332wjc.52.1371575278521; Tue, 18 Jun 2013 10:07:58 -0700 (PDT) Received: by 10.216.165.8 with HTTP; Tue, 18 Jun 2013 10:07:58 -0700 (PDT) In-Reply-To: References: Date: Tue, 18 Jun 2013 18:07:58 +0100 Message-ID: To: Patrick Schaaf Cc: internals Content-Type: multipart/alternative; boundary=089e0141a1904251bc04df70c155 Subject: Re: [PHP-DEV] PR 287 - added use_keys argument to array_filter() [Discussion] From: leight@gmail.com (Leigh) --089e0141a1904251bc04df70c155 Content-Type: text/plain; charset=ISO-8859-1 On 18 June 2013 18:04, Patrick Schaaf wrote: > > Another alternative might be to go with a third argument to array_filter(), > but make that an integer with ORable constants ARRAY_FILTER_KEY, > ARRAY_FILTER_VAL - only one of them set calls with a single argument, both > set call with two arguments. > That look like a fairly decent compromise of all the suggestions so far. --089e0141a1904251bc04df70c155--