Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:95006 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 12156 invoked from network); 10 Aug 2016 13:37:45 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 10 Aug 2016 13:37:45 -0000 Authentication-Results: pb1.pair.com header.from=remi@fedoraproject.org; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=remi@fedoraproject.org; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain fedoraproject.org from 217.70.183.198 cause and error) X-PHP-List-Original-Sender: remi@fedoraproject.org X-Host-Fingerprint: 217.70.183.198 relay6-d.mail.gandi.net Received: from [217.70.183.198] ([217.70.183.198:47509] helo=relay6-d.mail.gandi.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 8D/51-05841-62E2BA75 for ; Wed, 10 Aug 2016 09:37:44 -0400 Received: from mfilter44-d.gandi.net (mfilter44-d.gandi.net [217.70.178.175]) by relay6-d.mail.gandi.net (Postfix) with ESMTP id 5987AFB89E for ; Wed, 10 Aug 2016 15:37:39 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at mfilter44-d.gandi.net Received: from relay6-d.mail.gandi.net ([IPv6:::ffff:217.70.183.198]) by mfilter44-d.gandi.net (mfilter44-d.gandi.net [::ffff:10.0.15.180]) (amavisd-new, port 10024) with ESMTP id BR9Fsi6og3kn for ; Wed, 10 Aug 2016 15:37:37 +0200 (CEST) X-Originating-IP: 90.109.100.243 Received: from builder.remirepo.net (LFbn-1-6148-243.w90-109.abo.wanadoo.fr [90.109.100.243]) (Authenticated sender: contact@ll-experts.com) by relay6-d.mail.gandi.net (Postfix) with ESMTPSA id C8C09FB8B9 for ; Wed, 10 Aug 2016 15:37:37 +0200 (CEST) To: internals@lists.php.net Message-ID: Date: Wed, 10 Aug 2016 15:37:34 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Q3Fj0HP0vtg2xb0wm8g3DjvFNkl7SvbrF" Subject: array_search "all" value (not only the first one) From: remi@fedoraproject.org (Remi Collet) --Q3Fj0HP0vtg2xb0wm8g3DjvFNkl7SvbrF Content-Type: multipart/mixed; boundary="nD9q6PbUc7Ge4XmcvBsCwVQIQrajXnknJ" From: Remi Collet To: internals@lists.php.net Message-ID: Subject: array_search "all" value (not only the first one) --nD9q6PbUc7Ge4XmcvBsCwVQIQrajXnknJ Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable I think this is a small missing feature. Comment welcome on https://github.com/php/php-src/pull/2071 (don't know if such a small self-contained change need a RFC). Remi. --nD9q6PbUc7Ge4XmcvBsCwVQIQrajXnknJ-- --Q3Fj0HP0vtg2xb0wm8g3DjvFNkl7SvbrF Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iEYEARECAAYFAlerLiEACgkQYUppBSnxahjYIACgxJJVGC+DCYHGEPYtTHiHsLTs 7ocAnif6VEwXJXqAiIizcXPN+/vWicHb =dVN7 -----END PGP SIGNATURE----- --Q3Fj0HP0vtg2xb0wm8g3DjvFNkl7SvbrF--