Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:130127 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 lists.php.net (Postfix) with ESMTPS id D373B1A00BC for ; Sun, 22 Feb 2026 18:06:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1771783585; bh=mA4oHGlk1fLZQq1IQvQjOZ3m+08Dmskj2uMS8M5Ux7w=; h=Date:Subject:To:References:From:In-Reply-To:From; b=gCc8BIlTs6iWIar9CQL9RMa7vW5pIdgBWlEpwOKti2vDROhzcrVCaW/gpoZu6jTJ+ Tb7Hitk0nZ3DOwRtop9jqkK/ahHr3LbR8OFdZBv37W6sq/GhKJLE4X02mq7r+uyxc4 p13szRZgoGPoG8F3TEFcAybA3CoeiL7H20+yLq1vq5ONY+s7E1EX8W579gqZNog/TP ZuJYjVNpwJVjBclSvliowU9Etb8Mbeza6ieR+nZUmtscwqKcyjPKki7dS6Tm2+Vyde wIR9qeuOtkzz6qTJLx8i96DCuyhESsjunKlrskDBkJ7q5xKU6xLWP9zQUCTvrQkz62 9hMtrMuK7ws0w== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id CBD87180083 for ; Sun, 22 Feb 2026 18:06:21 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-25) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=0.6 required=5.0 tests=BAYES_50,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,DMARC_PASS,SPF_HELO_NONE, SPF_PASS autolearn=no autolearn_force=no version=4.0.1 X-Spam-Virus: No X-Envelope-From: Received: from chrono.xqk7.com (chrono.xqk7.com [176.9.45.72]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Sun, 22 Feb 2026 18:06:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bastelstu.be; s=mail20171119; t=1771783574; bh=Y49GJ9ks0RVwvH26C8RM4xzVsSEv/PTrVjhQTkhoTl0=; h=Message-ID:Date:MIME-Version:Subject:To:References:From: In-Reply-To:Content-Type:from:to:cc:subject:message-id; b=PSnEPU0/9Yp1Kr74OONx1QXkXEAblNXW0iP5HiDC+IzNXtD/6uNcbGTUD/fjozeuX yKtE7G618dW+oIC271CVlansqSLVUQl9MCGq73M/s12R3VV4JueuZ0/Qa2Z6hNEX3x 0bzGOLadzXgGclZ6Lwfiw4duORuNaSpFuHARszCpJeomE0VY6dTnS4ClN/oCiZoz7I ycre7R/vW5KVAIl88eaEe/0pT/7qNc8laVNn4SF586ZfPl6WKaQV/v+yq5OrTtKmW9 18J+cUcvc0mLPMJOMxxWlvBhV/dUkxl1/ojeiz0FWhTPxdxVz5QV4ta+yFfCy3UIWM ETa7jazJAQk9Q== Message-ID: <071bbe2d-73e8-4803-8ae1-935bebc8d6f7@bastelstu.be> Date: Sun, 22 Feb 2026 19:06:13 +0100 Precedence: list list-help: list-unsubscribe: list-post: List-Id: x-ms-reactions: disallow MIME-Version: 1.0 Subject: Re: [PHP-DEV] [RFC] Add is_assoc_array() function To: Muhammed Arshid KV , internals@lists.php.net References: Content-Language: en-US In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit From: tim@bastelstu.be (=?UTF-8?Q?Tim_D=C3=BCsterhus?=) Hi On 2/21/26 03:35, Muhammed Arshid KV wrote: > I’ve proposed a small RFC to add *is_assoc_array(array $array):* bool to > the PHP core. > > RFC: https://wiki.php.net/rfc/is_assoc_array Besides what the others have already mentioned: Please make sure to fill in the RFC template carefully. Quite a number of sections still contain placeholder values with instructions as to how the section is supposed to be filled in. The “Voting Choices” section is a particular obvious example here. With regard to the “RFC Impact” section, the RFC mentions: > Such functions can be replaced with the built-in implementation. This is not necessarily true. The existing userland function might behave differently to the proposed function. Even though adding new functions is not considered a BC break as per our policy, there is an expectation to do some research as to what the impact of adding the function would be. Please include this research, the RFC template provides some advice on how to do that. Please also make sure to include a link to the ML discussion in the References section for future reference. The correct link is this one: https://news-web.php.net/php.internals/130115 Best regards Tim Düsterhus