Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:130511 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 DFEC91A00BC for ; Tue, 31 Mar 2026 09:53:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1774950797; bh=WUZCpQsbiC/cH3ExAE80d4aEGZ1cMJMkr2wA003iQcU=; h=Date:From:To:cc:Subject:In-Reply-To:References:From; b=X54w8dbU6tqeZrROR6E9ykwir7hyRKs2h8yi7uWCKFC7jMTpv1KDrHLw3NNE4egDb 6wDjo2tVvRPV977ITn5qBtUJIQ93tCwg38e2S8PSrPQtYUR+yANHDcBRJV+cUckc+V 3OM8qtMDyHFMavWmpngQ5VPohonWHDUFShPGM4e0oghFMPQCbufavQOE2nnP2G5bji X2hgs2gz11MaHIpbtDbW57zeT4RNVcrIm7sslbXbRkZRE0f88wDC41KwUSVGVdAYXL ypIx5FhrBhqQk+72N7JjqzZdD0mvQ5tI3+vDwbYZpn8JCpgMEibuMNDoIDeNXkx9mJ JkHwoeomwK2+A== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id C640618058E for ; Tue, 31 Mar 2026 09:53:16 +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_NONE, SPF_SOFTFAIL autolearn=no autolearn_force=no version=4.0.1 X-Spam-Virus: No X-Envelope-From: Received: from mail.xdebug.org (mail.xdebug.org [176.126.244.128]) (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 ; Tue, 31 Mar 2026 09:53:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1774950790; bh=WUZCpQsbiC/cH3ExAE80d4aEGZ1cMJMkr2wA003iQcU=; h=Date:From:To:cc:Subject:In-Reply-To:References:From; b=IOu+wbZ0menCo1pZpf1X9Qr3P0vqhPm0vrU0VpWpqtkB+iqq02htWrva3x0mGhGNs ocDMUo3EXDuZjFOtPLfD2or2iadKlot+RkdQ8bSDbmLDmXCeT9YIfuN2Pe9dUGGLDp TN63phzeXYOPi4f+Hj8Lipoio6vdHpiucaUVU5jVc8e9BsVT3z7wzO7cuKUI4pZ25a YwUO0SuMAAxB0XPOTDlNpZiC8ApNa7j3Xu3rsc25aBXs9A6f+4QnIr1F0BA9g6Ipno EtP9vIfYehpuDn3CFOkA5s7JFbYOnyfuTA71oqVaq88KSCWbO6vg4FGYNTjDObpMji jvmZ9Wln1/AmQ== Received: from localhost (localhost [IPv6:::1]) by mail.xdebug.org (Postfix) with ESMTPS id 7FA27200E8; Tue, 31 Mar 2026 09:53:10 +0000 (UTC) Date: Tue, 31 Mar 2026 10:53:10 +0100 (BST) To: Calvin Buckley cc: PHP internals Subject: Re: [PHP-DEV] [RFC] Display Function Arguments in Errors In-Reply-To: <939CFA28-A6FF-433F-85A0-B83345CEF4A6@cmpct.info> Message-ID: <26265d7b-6306-72f2-1a0f-a447576018e5@php.net> References: <939CFA28-A6FF-433F-85A0-B83345CEF4A6@cmpct.info> Precedence: list list-help: list-unsubscribe: list-post: List-Id: x-ms-reactions: disallow MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="8323329-2146222879-1774950790=:119593" From: derick@php.net (Derick Rethans) This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --8323329-2146222879-1774950790=:119593 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: QUOTED-PRINTABLE On Wed, 11 Mar 2026, Calvin Buckley wrote: > Based on the feedback I had from my proposal for function arguments in=20 > errors last week, I'd like to introduce an RFC for it. Please let me=20 > know what you think and please raise any possible issues. >=20 > https://wiki.php.net/rfc/display_error_function_args | Add a error_ignore_args, which potentially defaults to =E2=80=9C0=E2=80= =9D. This is=20 | made an INI option, as some users may want to disable the feature by=20 | enabling this option, at least for production (e.g. risks of untagged=20 | PII in logs, size of logs, format compatibility with older versions of=20 | PHP).=20 I'm generally not in favour of new ini settings. I also don't think this=20 is going to help a lot, as many people will likely not change the=20 default. But, I am especially not keen on "negative names". Names that include=20 "ignore" or "disable" for example. If you must have an ini setting, it=20 ought to be something like "include_error_args" (defaulting to "0", I=20 suspect). The confusion in=20 https://github.com/php/php-src/pull/12276#pullrequestreview-4035216287=20 also explains why I feel this. cheers, Derick --=20 https://derickrethans.nl | https://xdebug.org | https://dram.io Author of Xdebug. Like it? Consider supporting me: https://xdebug.org/suppo= rt mastodon: @derickr@phpc.social @xdebug@phpc.social --8323329-2146222879-1774950790=:119593--