Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:129480 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 907891A00BC for ; Mon, 1 Dec 2025 11:45:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1764589506; bh=2awXsBsZtS7zFQ0nEW6pkdoWGEtWBZ3/AwQjpGXZIW0=; h=Date:From:To:CC:Subject:In-Reply-To:References:From; b=Yah13MhgvJ8VhXrR9Gq0G64yi2oUp1mMBaB/CbWXByrtSwsxGn/7cGkBJGmofN1Kr JYsSlzeES+oeKY8msjL4+98PjbFHYyrHenqWfwzdEeStJ/uDGnhiMAu6Q6gFEAkqj0 wCPGA1nQMmJ3t7lKHtHVAuVaMqumYlBYcdcK6jNdE+9JRSzJL+wt02gFFZblpiJFqb 1SCaYayNIHjP6mWBgCVmrJKzXrQa+pdM10AUA2jYdpQZ8DaFgmfHyMouKqx47NUAcT e+GMXyOQ2BKANhV4oEG1C32FmpUMmlQ9UwOCy3vb3rY6KayrVWkG5QgCZ5w01xg9Q9 666wzqOnUH++A== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 56CD918004C for ; Mon, 1 Dec 2025 11:45:05 +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=-1.4 required=5.0 tests=BAYES_05,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,DMARC_MISSING,RCVD_IN_DNSWL_LOW, SPF_HELO_PASS,SPF_PASS autolearn=no autolearn_force=no version=4.0.1 X-Spam-Virus: No X-Envelope-From: Received: from fout-a8-smtp.messagingengine.com (fout-a8-smtp.messagingengine.com [103.168.172.151]) (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 ; Mon, 1 Dec 2025 11:45:05 +0000 (UTC) Received: from phl-compute-02.internal (phl-compute-02.internal [10.202.2.42]) by mailfout.phl.internal (Postfix) with ESMTP id 9A23EEC0081 for ; Mon, 1 Dec 2025 06:44:59 -0500 (EST) Received: from phl-mailfrontend-01 ([10.202.2.162]) by phl-compute-02.internal (MEProxy); Mon, 01 Dec 2025 06:44:59 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rwec.co.uk; h=cc :cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm1; t=1764589499; x=1764675899; bh=2awXsBsZtS7zFQ0nEW6pkdoWGEtWBZ3/AwQjpGXZIW0=; b= heyEk2FJd6b8k97wWnPEJoynHGvqW7RHFaZuMpJBXw8jWt+JND5V6/B6sxVlmx3j EUryTUwWygHigN4uaKAwZrvIebrcgaoNoWhDSskpCYOpNF6Vvng2kGUrswpEOiCp mxLgF6qZ93/vMnaK1bc4SriUUcs9AyZ4vHh7Gddrp2UFbVXh8NvCzREhcwmcrrJe t8T6Ryau3ScGp9Bo+T05j5aWJ0fcO8EhiiQ0JrzSESZRakZBJUi8j0geCmRIU+/B WmmM9a1LBBkWtvYum4Httkhi/iEabZppwcujmyPOQ8CvpzZlUyBTzah1NB9E9gA+ isf+JabNbSR3/mZdMpr1HA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1764589499; x= 1764675899; bh=2awXsBsZtS7zFQ0nEW6pkdoWGEtWBZ3/AwQjpGXZIW0=; b=n ZsrIbTvtpQZ2EqkvPdBT/ixg4QvoEwQ+X6yk+IRxHZRHjFG7znC02k9xovWslHYG Gy4HyUvd7Oyfn1RIzAycrZU6o1JQqfSux2kIwH5dZ6KaYPWrpZhGhjeLVq+WjqVC nZouK/077ybuZ4C7Rb54X2vLacseDJHk/IO8kcUwDhXPGPyC4rgZ4ce1/4ASoi1w +Vzgp12nZQCQwm3Ej9oOfm2/tFt18H2+avQ0rIvm+KKbZFl4Cx8Zk348QiDKmAVH YMM23JR1Mw5H6LEKEk/yC8lNUSqrmoWt/Oe+iXI9eiCQ/haI3mb2XDcVND5UyQRx 55Uqm5oRzzmmSVyyweHYw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeffedrtdeggddvheejiedvucetufdoteggodetrf dotffvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfurfetoffkrfgpnffqhgenuceu rghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujf gurhepfffhvfevufgfjghfkfggtgfgsehtqhhmtddtreejnecuhfhrohhmpedftfhofigr nhcuvfhomhhmihhnshculgfkoffuohfrngdfuceoihhmshhophdrphhhphesrhifvggtrd gtohdruhhkqeenucggtffrrghtthgvrhhnpeeugfejfefghfdvuddvieejhfeffeelueej ieehffdtgedtvdetuddufedukeeuueenucevlhhushhtvghrufhiiigvpedtnecurfgrrh grmhepmhgrihhlfhhrohhmpehimhhsohhprdhphhhpsehrfigvtgdrtghordhukhdpnhgs pghrtghpthhtohepuddpmhhouggvpehsmhhtphhouhhtpdhrtghpthhtohepihhnthgvrh hnrghlsheslhhishhtshdrphhhphdrnhgvth X-ME-Proxy: Feedback-ID: id5114917:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA for ; Mon, 1 Dec 2025 06:44:58 -0500 (EST) Date: Mon, 01 Dec 2025 11:44:57 +0000 To: internals@lists.php.net CC: PHP internals Subject: =?US-ASCII?Q?Re=3A_=5BPHP-DEV=5D_Possibility_to_include?= =?US-ASCII?Q?_called_object_in_exception_backtrace?= User-Agent: K-9 Mail for Android In-Reply-To: <1c04232d-5a9c-16c7-b01b-1469d566aefa@php.net> References: <6f3167c3-b6e7-4f25-8154-ce20de7d3e82@mabe.berlin> <1c04232d-5a9c-16c7-b01b-1469d566aefa@php.net> Message-ID: <5C76F995-1E1E-4683-842B-ACD6BB2D4785@rwec.co.uk> Precedence: list list-help: list-unsubscribe: list-post: List-Id: x-ms-reactions: disallow MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable From: imsop.php@rwec.co.uk ("Rowan Tommins [IMSoP]") On 1 December 2025 10:36:51 GMT, Derick Rethans wrote: >I don't think that adding an INI setting (again) is a good idea=2E If you= =20 >want to make this configurable, it should be an option on=20 >Exception::getTrace() =E2=80=94 INI settings make applications less porta= ble=20 >(even though this is a debugging option)=2E A parameter on the getter would mean every exception has to capture the re= ferences just in case they're used, which would definitely be a bad idea=2E= =20 If I remember rightly, the existing INI setting for capturing parameters w= as added precisely so that users could turn *off* collection in production = builds=2E The same reasoning applies to other debugging settings, like skipping eval= uation of assertions rather than silently discarding their results=2E Regards, Rowan Tommins [IMSoP]