Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:127876 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 986C81A00BC for ; Fri, 4 Jul 2025 12:40:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1751632716; bh=SIisxBcfWmNq7IXIXAZ4Zm/+proeL1ZEAVSvJFbZ0ek=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=ZdUGDLEl6p2mU8rWVAd59rzX+rFQ4iFABdDaE5n0xcPn6BO21cTpJPVZpOrWly21w l0B5wWOc2QtQ8rxdjnw2R86oXO1+2Rlw4AATNAPrCZ8ZK4dUr4CeuJns8x0SQXIZwF P3LZ16Whh3xTmlFTcGoncY5KI7PMRs6J7EPgC84Sr6wDLjEf0ryLWsHEz/OXb5gkrj Mf5VU2vVSPr2iKvA2GOIyLgTsJ1KKMZnZeL4ltqp7aTU7rswFEAlAwWq+RcHQYALFR 8dSwdj3m9ah403IN7B8/aCUNAcHP/VYSoIgVODRcgu5J789yORi4GdoUMGmUG5g6ci Vw9rOfwLOKOIQ== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 84A851801DB for ; Fri, 4 Jul 2025 12:38:35 +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.7 required=5.0 tests=BAYES_05,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: 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.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 ; Fri, 4 Jul 2025 12:38:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bastelstu.be; s=mail20171119; t=1751632825; bh=muAjQhc3SRQg5tkHb2uwidZTuGL9rsJZ+//S1BR826Y=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type:from:to:cc:subject:message-id; b=f6azUW4FrGFsIMl9i/GDSSBmapxbyy4pWgnoW1g7XzVPu+1xWLdxHHAAMVKQRLAK6 WhlldbQtkRwFEMagOuj3ikNt2T1DYQM5G7xR4jsLTvrrn1x7JRFg1iqVwFfHHcV9IL CUnwp6RH0SfpG/jUpjFbsqbd1sHIxQly5ngN0Ed/pJSXwV8A2sfWf5hXGWstZuv+eV siFx4ecauNM2PSEYcVAkpMqNeXTN4/dP0HiFy56Tsg6cxbPQVDjJDnqcXGdsogFnu/ lcaHEFaL9iDwZmSrvzmH4FaVQevsNFzfmJH5SVeOVO9xq0x+fTD8C+C1xQ52JlGOgl 5C/M16g2JSHUQ== Message-ID: Date: Fri, 4 Jul 2025 14:40:23 +0200 Precedence: bulk list-help: list-post: List-Id: internals.lists.php.net x-ms-reactions: disallow MIME-Version: 1.0 Subject: Re: [PHP-DEV] [RFC] Deprecations for PHP 8.5 To: Derick Rethans , "Gina P. Banyard" 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: tim@bastelstu.be (=?UTF-8?Q?Tim_D=C3=BCsterhus?=) Hi On 7/3/25 18:04, Derick Rethans wrote: > The intention behind the filter extension was that admins can set a > default filter for *all* data coming in through this `filter.default` > setting as a "safe" fallback. That could/should probably even be a Genuine question: Is that *intention* documented anywhere? https://www.php.net/manual/en/function.filter-input.php only makes factual statements about the behavior, but not how one is supposed to use them. Similarly https://www.php.net/manual/en/filter.configuration.php also says that a default filter can be configured, but not why one would want to do so. Best regards Tim Düsterhus