Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:130711 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 5BC1B1A00BC for ; Thu, 30 Apr 2026 07:34:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1777534498; bh=0Dt+TwI/hfnsC4EFDzVdG3tbcZUwux4OZMqmd+3zgPs=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=TrYD/iN9rHO4ukFbYA7B9ja4hQNjNiYBbRccdUdkKii29XpvfNQLKltgwwb+Y3G+J 0VHLOTxNenduKEYztmLBspoQaOvu4PIcvoEuR/UF/9Gd7Mzj4C+wlAqKWRQa0grtH5 QdeJbxSZbYgR4gUfOgcxsNedt2hND7gs+bHlTNnSFpi3UdkURUainMpAG187rNk0U1 XiA7zChosfGfQk1CRDuMuvmoEq6dkc5pLSSzZOJC8NN9shvNYKdFbqtxn9GMRnvz0L 8KPkPyXTmMYiM3qw8IHng3b/smt/0xDm6gSOH2SzJPD5Wh8wNsSrkLsFD4sUmUexzi 1NmqS8Tsp63pA== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 1949118005D for ; Thu, 30 Apr 2026 07:34:58 +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 ; Thu, 30 Apr 2026 07:34:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bastelstu.be; s=mail20171119; t=1777534491; bh=eKAV3+veNSZc59QKDnEJ0jJvauwy8yuuJ7m1eDbeyds=; h=MIME-Version:Date:From:To:Cc:Subject:In-Reply-To:References: Message-ID:Content-Type:from:to:cc:subject:message-id; b=cCczZ3KslkUCRKiUzO/UNeLf9oW48Lrb0vvolxLQrNprhd0Ec3nN7cSfQWQHo2rTb JZ5zhvzTAGEdjvi5GanzC1iheURfLQIIhnuIJe+kd399W2xFtsK8HrkNUYqm31H0Zk ysert4V6iNogJUrrh8rNBc6xWAs2rbBkY/sDYJSTyZhtdMUoItYcDX5a02DB98MpVh skFFI+4AljCpBIRHKmaHMbvJ9mwte9NWyc4v7YSBdrGqS7Rycm/cd20m9ccJH7OED9 +xSYalB6QN2z50DBrQZjufd/4rWjceNODRY1c66kid/ftAgA7fCLK8VAE4i1wL/xr4 /VwIDhabr1quQ== Precedence: list list-help: list-unsubscribe: list-post: List-Id: x-ms-reactions: disallow MIME-Version: 1.0 Date: Thu, 30 Apr 2026 09:34:51 +0200 To: Barel Cc: php internals Subject: Re: [PHP-DEV] [RFC] [Discussion] array_get and array_has functions In-Reply-To: References: <19d58a46b50222b75da4e40e417efd05@bastelstu.be> <4f684a4fbad3a7ddb797e24e3c1a882a@bastelstu.be> <8dca7d45-fce4-4d6a-ac56-956046ef20a6@app.fastmail.com> Message-ID: <186bc870ee3e713cefab18a6d45d4dcb@bastelstu.be> 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 Am 2026-04-25 21:37, schrieb Barel: > Many thanks for your comments regarding the RFC, I have updated it. I'm seeing you adjusted the text to mention “If any segment is not a string or integer: throw a TypeError, even if that segment would not be reached”. This is however not reflected in the example implementation. Best regards Tim Düsterhus PS: Don't forget to cut your quotes when replying :-)