Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:130532 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 59DB91A00BC for ; Thu, 2 Apr 2026 14:25:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1775139923; bh=U/Mat71SqMfQSAA5jBiZxCUyCU1yYpwyEK2OSkzacU0=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=RGGvRYB0uxPN8ZhTLT4SmHIatODhl3rrAsuh9kS8145cTZsNEzFag+TG8PUsuMAGn ZFC1RcPjCbvpmeJgschk43tmz+uJmRBYG1VUeY/51cLXAcUpfXnEOUS/kk5xgq4D0z j15xpvlFsZEuqk5SBpDSPC7w7iItg2PX6cVy+4sjxJeKwGGqZ+Vvg1kdA/bWkf5hqZ W57micwYqY4XkenL+QhUxLo64KRfgTX3jhne2IYModFiTfPqWWF+YN/48//XAeofkr qpyhuZBP8gGhKFhW1ZqOF6yPYvo9PXUUWvAnZUqzY88XhkK4lUbqcrOiVr3pH7ru7o EkclGbMiZKywg== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 416F1180341 for ; Thu, 2 Apr 2026 14:25:22 +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=ARC_SIGNED,ARC_VALID,BAYES_50, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,DMARC_PASS, FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=4.0.1 X-Spam-Virus: No X-Envelope-From: Received: from mail-lf1-f49.google.com (mail-lf1-f49.google.com [209.85.167.49]) (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, 2 Apr 2026 14:25:19 +0000 (UTC) Received: by mail-lf1-f49.google.com with SMTP id 2adb3069b0e04-5a13e1cfa45so1121814e87.2 for ; Thu, 02 Apr 2026 07:25:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1775139913; cv=none; d=google.com; s=arc-20240605; b=QPgkLt21YzFiGnZlKFN3wYflLwv7RsBhV28QCkBOu+Ls2tgW4fsPPskT/TracyvWKS v8DTjdWc3f/G3KlbAkTnGANwRoIoqvX/6CJTsz7TshfHPwi6qpLVCAD6rtTdDPVIKcF7 2uyc/LzMyfh5E334Z1tlfUE3grWbYu3GdcFX1dBL4B5fORls+fflDMp0zLPb9XFeZlPP u3ot9I6nASkLw848imVFG6Fv4x2C088v/VPhGzz34q2WZeOmr09nvDVu7+zclyzLrrwY gpV/wR9e1oxS7HaAsuoj1nRp5V/7SmZSExYM+84vR+sM4oT4H6MCGU+swwvFV2Lal2xa y5dw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:dkim-signature; bh=U/Mat71SqMfQSAA5jBiZxCUyCU1yYpwyEK2OSkzacU0=; fh=6Z8yZtHJNt9m+QPjOJ+wKezj0oEa8Uibg3EFHxOQjZg=; b=DvqM/t84lmp/Udkudxw7OlwASXzAfWaHLLUNztx8n7bR4oe4uP2/D2O7uhqolwz7YU kIqLqStEMX+YWj0l27+upPGJSSqGg6W503bFKJzEIOYWtNmaA3o7Bs/+OttWoXHNL3Iv ZtncVQOADmMGNPlYJMC582n+sVPXblCdMuDJw7RM2UyW4OEdnkIH+QBmKCokrOhG26Ib M/6GnLGsQ/rf6/mWhutCEVNsVGTtVK2YocBWQWOz2Qo3SNYTvUJPsidcUUcehPSbLbv4 qFkDMThJBzNkU93AGez224q/N+ABvlTErLA9H6oxtYxVmeIdEfetl8XTRWIIFRDebgIL KFWQ==; darn=lists.php.net ARC-Authentication-Results: i=1; mx.google.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1775139913; x=1775744713; darn=lists.php.net; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=U/Mat71SqMfQSAA5jBiZxCUyCU1yYpwyEK2OSkzacU0=; b=UhVxy2SWUyjY2Z3VUQ5UrQ8lHrFLn3KeAUvvjVdY9J1lmSfsqrduVV39szP34ZO6rA f8mKHPfpmjVKv8lEPItwpCqlTQRrMFX4sVMNOVG6aUSuMJz/AaDBGMr+d4ynLkHdoST5 i8KEWwNJF33yXbavC/GhBX7I4U78g+xRS1LdlO2vLo7ZqAyfDlfw5QVy4L6HhKOxQaQK CXKHKGsoaIenPSRNc90JR82DC0O+abowenBO51TU8FXz//sxbTrirqFUZ4nK4d7O19cB Vs+1L1TY3RsEZGkvWUd3/6SQGpzXL88l4tlCf052i183ufC3FqIhtOyvSDJSGUvE8rA0 NGcA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1775139913; x=1775744713; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=U/Mat71SqMfQSAA5jBiZxCUyCU1yYpwyEK2OSkzacU0=; b=sAGkYzT2RyggqNG3Yt3pSzXau55VtrYyR3qJpXHCsT9mWgW98xTbzeM86c1UIu5SSC DoG0DDa2L6C12ajmfbbN4xVDC5dso2+EUS4Y4X/zrS49lztn2mbY1yha6Mudq4VWxoaJ hRl2cYgQysePrFtzuzY/qCN62DUa1hZg/8AkIsmNjUUb4rJniTYvxqNc+63acAny65sZ 3WloeIJPMWq9i+LSUZALBAAIYtVCPHKBYU5s9NFuKz15rld6jcw5pmQGqI4K1Zg3MZNf HOWZaG95D6WkyC7FHDiLwKy8rlmK+xJZfGqQ1oJUkS8/aEay4+wkJ/SxMIcq9/DYB7R1 Tcag== X-Gm-Message-State: AOJu0Yz07zcGuQ8hXMnvIxouxZYBmsU+t44yu4d/NYtZgj92NA4KBlME mT9y3PSkOlY1tlsoCexGzpRBInXmX49n44aBDyspwbM7fdsPEus9ge7C/x5ANBc8Bl1k1i6xp6l D22N6BEQlof6dpMl8ujaale6b1H3MK2TQ7g== X-Gm-Gg: ATEYQzxz96Wp8mfqJhQzKUEDVeq2/5hPMW5PemuIdRqJ6W/e09aS9pPRwC/psBQYkHW Nt20gepNw86ICa3i3YPkZVzcIOZ7PZHfPqfHQz6Yl8e4nX5C9qxENr46TnxeBS+uXIqJgZoiCCf KVialCITg/l5iAv68lh90zzO6d1yrXFrX2r2JwlFrBppBFCCc+vI+tygAZEO0qrsUcJUDcvP69o qT9+BH4SWXQ/SbDyA/0PumLzfyCNGVlNu/LUgVkRkXH22lmqduqfA9LPz7usLCB43luD2a8YRM/ mB7svg== X-Received: by 2002:a05:6512:108c:b0:5a2:be4c:2946 with SMTP id 2adb3069b0e04-5a2c1f2edf5mr2907742e87.44.1775139913045; Thu, 02 Apr 2026 07:25:13 -0700 (PDT) Precedence: list list-help: list-unsubscribe: list-post: List-Id: x-ms-reactions: disallow MIME-Version: 1.0 References: <939CFA28-A6FF-433F-85A0-B83345CEF4A6@cmpct.info> In-Reply-To: <939CFA28-A6FF-433F-85A0-B83345CEF4A6@cmpct.info> Date: Thu, 2 Apr 2026 09:25:01 -0500 X-Gm-Features: AQROBzAHThDByPncG6Kms5zzxOnthL9Z6JUfDl_UYaaAT29gSOoSbZvYZprw39E Message-ID: Subject: Re: [PHP-DEV] [RFC] Display Function Arguments in Errors To: Calvin Buckley Cc: PHP internals Content-Type: multipart/alternative; boundary="000000000000f19d8f064e7af7fb" From: mweierophinney@gmail.com ("Matthew Weier O'Phinney") --000000000000f19d8f064e7af7fb Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Wed, Mar 11, 2026 at 10:56=E2=80=AFAM Calvin Buckley = wrote: > Based on the feedback I had from my proposal for function arguments in > errors last week, I'd like to introduce an RFC for it. Please let me > know what you think and please raise any possible issues. > > https://wiki.php.net/rfc/display_error_function_args > Have you done any benchmarking on this? What is the performance impact when it is enabled versus disabled? That information will be useful if this passes so that users can understand not just the security impact of having this information reported in logs, but the performance impact. --=20 Matthew Weier O'Phinney mweierophinney@gmail.com https://mwop.net/ he/him --000000000000f19d8f064e7af7fb Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Wed, Mar 11, 2026 at = 10:56=E2=80=AFAM Calvin Buckley <ca= lvin@cmpct.info> wrote:
Based on= the feedback I had from my proposal for function arguments in
errors last week, I'd like to introduce an RFC for it. Please let me know what you think and please raise any possible issues.

https://wiki.php.net/rfc/display_error_function_= args

Have you done any benchm= arking on this? What is the performance impact when it is enabled versus di= sabled? That information will be useful if this passes so that users can un= derstand not just the security impact of having this information reported i= n logs, but the performance impact.

--
Matthew Weier O'Phinney
mweierophinney@gmail.com
<= a href=3D"https://mwop.net/" target=3D"_blank">https://mwop.net/
<= div>he/him
--000000000000f19d8f064e7af7fb--