Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:121669 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 92885 invoked from network); 14 Nov 2023 10:09:09 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 14 Nov 2023 10:09:09 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 5F0F41804D0 for ; Tue, 14 Nov 2023 02:09:09 -0800 (PST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=-1.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,MISSING_HEADERS, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.2 X-Spam-ASN: AS15169 209.85.128.0/17 X-Spam-Virus: No X-Envelope-From: Received: from mail-oo1-f42.google.com (mail-oo1-f42.google.com [209.85.161.42]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Tue, 14 Nov 2023 02:09:08 -0800 (PST) Received: by mail-oo1-f42.google.com with SMTP id 006d021491bc7-586ba7cdb6bso3086014eaf.2 for ; Tue, 14 Nov 2023 02:09:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1699956548; x=1700561348; darn=lists.php.net; h=cc:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=txrPM9VMcW3Ir+qs0v/nE19YGjor0h9dxhDMcwNha+E=; b=AllfOj0LGETu7EG8lxdK9OmbtRdz/3z3mre3pjIDk78bnmwqyQXUK0QHShSQxnGJN3 BmqFSib+e34o4370HLdiAKTavavlvTjpShUiPFQIpQ7S1Y/V/ckj+FxJCjuU6F1TiuAr z/f1rlUJy+lKT7O7Pg7MoFMn39Skigtqwu/acm3HvHhHDrAgHsuOLZIK8xX7X9J8nDbY QxjiC1bOdNVOJ32DnDYM3zjiTAEa1FlVxwvmLufBqZ8hIFG5liaotl4J1BWgzXOMnghu HDQo+PqxsfHs/nijBTXHu/Uxc9iXmiUBSVw67hdom5/yAUHec38bD8V75EKzQX4U2ybf YKCQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1699956548; x=1700561348; h=cc:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=txrPM9VMcW3Ir+qs0v/nE19YGjor0h9dxhDMcwNha+E=; b=qgI0ZBm+F17MDDFMfLmaXndk7bazEiMSAZ7/GkucdCBShvhNK9Os1dF5Oi8X9H5ElP 8qiHQ7cy147GfPynuQNujdv/xWuhXT097qRQ/E6UanOoSjDHxf+WL3s2IhqtlwXzcjkj 87I2n9QehQiYetYMG3C/5m3j+1slzSWuNx63G0oscmrDNyqi20EcBANuLQgSlLnSrv0J 7YG8eksSUDmtnaRO5brRYSgF35OsXbt9+QBjpxgNRQF06dFTy0M20qNWSRusJLIrNAeJ LLkpyJwUKtL4dFCbyi1IzAgtzTyC5x21BRDyhU6+VJ2l6ZK3S/HcG7DSpVlQz3o87jxE uQxw== X-Gm-Message-State: AOJu0YzaWsJLU8t7JxZ/zsWerCRrYOkB/9uO3qdAo512/+sv7qD3Inlp eoAzTE9J79ngtTySJMprMv6eyLXl7PimTbvwp1hQuNLXGj6qijqz X-Google-Smtp-Source: AGHT+IEebTkusdC5ClfiwjnVh26+bMFG5cvYTkw+cDXtRr4HU25IbI4U3vCTFQkFxr4BEVD7snnQfZDCXQulsRvDH3c= X-Received: by 2002:a4a:6342:0:b0:58a:266:75f with SMTP id r2-20020a4a6342000000b0058a0266075fmr8622021oof.6.1699956547849; Tue, 14 Nov 2023 02:09:07 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: Date: Tue, 14 Nov 2023 11:08:56 +0100 Message-ID: Cc: PHP internals Content-Type: text/plain; charset="UTF-8" Subject: Re: [PHP-DEV] Array functions with strict comparison From: landers.robert@gmail.com (Robert Landers) Andreas, Just out of curiosity, what is the use case for this? I can't really think of a practical case where strict checking is needed for these functions. Usually, you have a really good idea of what is in the arrays when writing the code and can handle any edge cases (like nulls, empty strings, etc) long before you reach for these functions. Robert Landers Software Engineer Utrecht NL