Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:128029 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 3577E1A00BC for ; Mon, 14 Jul 2025 10:34:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1752489164; bh=62y34aLjSP+uaw8WGV+42QCpzYfjm9cFn2wyV4EOc/8=; h=Date:From:To:cc:Subject:In-Reply-To:References:From; b=YUjAH8r5VXOIBgNNOCmW5b7AcCw1oS/5ZEWf7GhhA9EC5i7MFfjk1Eg+U53dw3E+Q THl3AumGRlIkpAWRsROKEpxeBrrSMK182H8uRzHpJURLEOMGXY+k/wteg1BkPfU+OK Iyn9SULLsx2qXsNgNT+dmZ4tWHx+8FBnJ8X49WQ1IfgaAJ9efHTUmP0To2/aI58Pz0 4ubzkDI69kvtAzsoiS8lOhmw3bwU7OrdnCnVz+CWAv2lhGsnnjIj2XaeLXmmPVmKnd PWX5jabQSFN+c02b6AT/q4/2GdehrX9ZJNISWNFwdJ83Yu0qd9vJnQKOroIZdmbMHg lnY9Tvk4O9Jvw== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id F2BFC18004D for ; Mon, 14 Jul 2025 10:32:43 +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=3.6 required=5.0 tests=BAYES_50,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,DMARC_PASS,SPF_HELO_PASS, SPF_SOFTFAIL 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 xdebug.org (xdebug.org [82.113.146.227]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Mon, 14 Jul 2025 10:32:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1752489261; bh=62y34aLjSP+uaw8WGV+42QCpzYfjm9cFn2wyV4EOc/8=; h=Date:From:To:cc:Subject:In-Reply-To:References:From; b=kPizReNO8wTcUhO/mneakyK+AGvaurATVa/MXaEJ6eFcpBdytgVmR4gyjavh2ZwZ+ 92vKi6a79kKZngT92emcuoK/TxuLBs8FTxZ+7dslRvzNA5pB96s55+oKaPTTp2vjVZ x66wGABSH/XWAWu469z04lxrhKs1YZfwPAlfckIdwHYC6XSODGXQ5+X2YFniGmvYD2 pl6LCjm5HT4XybTFY0nVv9r4DSHaDYABUsQ1oBwHjB/QyM5HIfnxCZN77LCf+lspz/ keK3LaiywytUwjkaQn1K/B8UebVNjRkkLiF7ddBS3YaIxWU61SDLO3yn4PqO4xRD3P lISekSvZSFuMg== Received: from localhost (localhost [IPv6:::1]) by xdebug.org (Postfix) with ESMTPS id 0E16810C033; Mon, 14 Jul 2025 11:34:21 +0100 (BST) Date: Mon, 14 Jul 2025 11:34:20 +0100 (BST) To: Kamil Tekiela cc: "Gina P. Banyard" , PHP internals Subject: Re: [PHP-DEV] [RFC] Deprecations for PHP 8.5 In-Reply-To: Message-ID: <0dd541bd-25c0-2564-48f1-b76b7ce1676a@php.net> References: Precedence: bulk list-help: list-post: List-Id: internals.lists.php.net x-ms-reactions: disallow MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII From: derick@php.net (Derick Rethans) On Wed, 2 Jul 2025, Kamil Tekiela wrote: > On Wed, Jul 2, 2025, 21:58 Gina P. Banyard wrote: > > > Some should be non-controversial, others a bit more. If such, they > > might warrant their own dedicated RFC, or be dropped from the > > proposal altogether. > > ext/filter deprecations > > As much as I hate this extension, I don't think deprecating these > functions is the right choice. It's not unheard of for someone to use > filter_input without the filter parameter to avoid getting the warning > on missing value. See the top comment on > https://www.php.net/manual/en/function.filter-input.php#115086 > > Maybe we should just unbundle that whole extension? Certainly not. It has been the recommended way of accepting incoming request variables since whenever we removed magic quotes. cheers, Derick -- https://derickrethans.nl | https://xdebug.org | https://dram.io Author of Xdebug. Like it? Consider supporting me: https://xdebug.org/support mastodon: @derickr@phpc.social @xdebug@phpc.social