Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:91116 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 61841 invoked from network); 8 Feb 2016 15:42:47 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 8 Feb 2016 15:42:47 -0000 Authentication-Results: pb1.pair.com smtp.mail=pierre.php@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=pierre.php@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.214.170 as permitted sender) X-PHP-List-Original-Sender: pierre.php@gmail.com X-Host-Fingerprint: 209.85.214.170 mail-ob0-f170.google.com Received: from [209.85.214.170] ([209.85.214.170:33223] helo=mail-ob0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 95/53-36326-677B8B65 for ; Mon, 08 Feb 2016 10:42:46 -0500 Received: by mail-ob0-f170.google.com with SMTP id is5so156512621obc.0 for ; Mon, 08 Feb 2016 07:42:46 -0800 (PST) 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=CCs5ZRXDq7t2x1YMAQARQTS/PR7ftNLOns2dPh/+GR0=; b=f4vl+0y1qpNqbE9DRnbGav+9lhl6TGQJIKpyhitL1+SEuY8R6BB7v8gMlwj5EdV4Z/ BIJoVDteMOfjMf1x5AkcPKxDKTZXstAsskWnegHmdBkO4m22ad596laXU32LAiEGtszL PZh2uKH2kwBI+zT7WAzcxeRBxRKcFlOcaj8rvUNKfsHg8vkVgJ0WcSd/BVgYP+S42pxV rfFugTsgLIt3x5OGC9HmpBI0QkhFx2q2HamhNixLi8oPcvdWFNktdingo+/iiAbjThlW ZL13Z7oGMzwNab2LbdnOLrYJzvRjDiIvJfxzb0mUJUiquKBYEtYoUYixZ2pO6y3BDmpO aiiw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=CCs5ZRXDq7t2x1YMAQARQTS/PR7ftNLOns2dPh/+GR0=; b=Bjjh7p1FyxhWD18sGquazx0k6wbAEwYdJZxNUwQJaUtquo7NwgQfsDSoUU029hBSll PsYdty9viwvZKZLLMMDvi0f0NCsiThDs2cCHWDXUyNqzWTWRg5FousSL+IaqQGJO8PHf jkFu9AEZZirM/mq5iX3NHzD8z6JWN+qaS1vIxYRTo8p/ras7zxy1LDhEHW/bx8Z7GCNL HHX8c++N2WHr93PgjgStIxQ4/o9nogkKIBM/9pv9DGwla9f/EpH6sOghmU5lIncAxbyS 4TNqZhR/Hx9exnHRYa33y0zl2b0Dr0Xz7E4/k3U9aceXlKu/vNqpK+dBNlcuMxsEBlkx vwcg== X-Gm-Message-State: AG10YOSNAXXVHTLkc9YOyo6ww2rhik5v3Ds2T/HZJ5uCFEc61RN3wruC/ttEa2tDBNZwIOUhdCS+c+G+kF5Skw== MIME-Version: 1.0 X-Received: by 10.60.117.137 with SMTP id ke9mr26167394oeb.16.1454946161238; Mon, 08 Feb 2016 07:42:41 -0800 (PST) Received: by 10.202.95.68 with HTTP; Mon, 8 Feb 2016 07:42:39 -0800 (PST) Received: by 10.202.95.68 with HTTP; Mon, 8 Feb 2016 07:42:39 -0800 (PST) In-Reply-To: References: Date: Mon, 8 Feb 2016 22:42:39 +0700 Message-ID: To: Matthew Setter Cc: PHP internals Content-Type: multipart/alternative; boundary=047d7b4720281ba94d052b440df2 Subject: Re: [PHP-DEV] Proposal for a new array function From: pierre.php@gmail.com (Pierre Joye) --047d7b4720281ba94d052b440df2 Content-Type: text/plain; charset=UTF-8 Hi, On Feb 8, 2016 10:00 PM, "Matthew Setter" wrote: > > I want to propose a new PHP array method, called has_numeric_keys (or > something similar/better), that would have the following method signature: > > bool has_numeric_keys(array $array) I have no strong opinion on it but I wonder if it should have a recursive version as well, if accepted. I see it a bit like array_walk. Cheers, Pierre --047d7b4720281ba94d052b440df2--