Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:122472 X-Original-To: internals@lists.php.net Delivered-To: internals@lists.php.net Received: from php-smtp4.php.net (php-smtp4.php.net [45.112.84.5]) by qa.php.net (Postfix) with ESMTPS id 7B4AB1ADA79 for ; Thu, 22 Feb 2024 18:56:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1708628170; bh=TjqOEerpnNgTGfsLQZ14t8m1xt0Hm0HfxDnmfGbTeY4=; h=Date:From:Subject:To:Cc:References:In-Reply-To:From; b=Uo63dtlVwnHgYqpRIGZ8SiIA6LXNHA+TgYc1O8vLyg2xL4D2CNQC1oCQexxVpYadP cCF9O5y1u4DFgO8zR0kcnshRNwHx9MPpNV5/8daqr1O2djNWBHmpWPPYwLbPBNSA1B LsMYgtRlPrcFEW+IEG4IbYTOBVp1lPHKlsv96WqEOy8QV1k3Sk27quJTierrcQvdJB oNfTS5sAOzdXiFmOldk2fYB3bq973vqrIgmj3URjKBsUp6hmvqT4RyESPH3jH+fMTF O/v6Vd8myULOWlgyZpJvgDCzPKX7iHKrHI8aOhayCZ6FhSotah+XrpVjwu+bo5q+eb FocD4BcvDF4pQ== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 339841808C8 for ; Thu, 22 Feb 2024 18:56:08 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-13) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=-0.2 required=5.0 tests=BAYES_20,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,DMARC_PASS,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=4.0.0 X-Spam-Virus: Error (Cannot connect to unix socket '/var/run/clamav/clamd.ctl': connect: Connection refused) X-Envelope-From: Received: from chrono.xqk7.com (chrono.xqk7.com [176.9.45.72]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Thu, 22 Feb 2024 10:56:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bastelstu.be; s=mail20171119; t=1708628158; bh=LGBLAf0wbUgmYuH1o05WNYG9vWtz6dKmkblxmopQ7q4=; h=Message-ID:Date:MIME-Version:From:Subject:To:Cc:References: In-Reply-To:Content-Type:from:to:cc:subject:message-id; b=Au9YlOFYok4ZKB66pbVLsj5Xz9eo3yXlnM4iuJSqNR8w8nCfvF60O6KaIs5jv7ZUe VxjYOcdUxmoTv1nrsYIQ0Usg5YCpwi3L9xYTy2LB6Ffbfz3o1oFBPBDIz6lNQNUk/a lktXcK9mBicWsebiiqCg2OHwAPzNb09x02pidQxzpn8PJdHbi14xjBO4CmMi0DFDgn tObrzN9fa0dDrTyWBHBcno4IB4i1gzPItDchchu3nAhc/6gbXWL6ePbMKO3bOzAxtg OkS1PXwrl/jRFzp4ELwgjAEagcm7NcIHzd/bjPpux2I901YY9KEayyDWGx0dG+AxFB 2prkemGiOjL9Q== Message-ID: <6326f401-64ae-4e76-bd85-2263d8fafdcc@bastelstu.be> Date: Thu, 22 Feb 2024 19:55:57 +0100 Precedence: bulk list-help: list-post: List-Id: internals.lists.php.net MIME-Version: 1.0 Subject: Re: [PHP-DEV] ArrayAccess and array_key_exists function To: Robert Landers , =?UTF-8?Q?Ond=C5=99ej_Mirtes?= Cc: PHP internals References: Content-Language: en-US In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit From: timwolla@bastelstu.be (=?UTF-8?Q?Tim_D=C3=BCsterhus?=) Hi (Robert, Ondrej, please apologize the duplicate mail, the list rejected my first attempt, because the previously used alias tim@ is no longer accepted as a valid sender, I'll need to update my subscription) On 2/20/24 14:21, Robert Landers wrote: > I'd love to see all array_* functions accept iterators/objects instead > of only just arrays. Yes, I know the name says "array" but often we > just mean "do this operation on this thing that looks enough like an > array for now." > This is probably a good opportunity to point out this mailing list thread once more: https://externals.io/message/118896#118896 Best regards Tim Düsterhus