Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:127935 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 38DBD1A00BC for ; Mon, 7 Jul 2025 15:46:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1751903092; bh=KzxwkoZywhXXWMT2855wWwMq0eJ58nc+KB0sMEGLYs4=; h=References:In-Reply-To:Reply-To:From:Date:Subject:To:Cc:From; b=Ha6IWOk1QhELHXNGDyXBY4bLeoS4grTeK/QlpBDNreWybGUdeL5rD836ul3nMKVVM ftxg2ch2KsYreIboQIzjIlOMXV0871X7TgMtWAM6j75OBgCGPzLtsEJItqgYirUiX3 24Q2Tvawek4pvnzsbqA1hJ54mDKJPC+yuPBnSoI+yjgJYkVoCF/o1xySDbk1m4SFZh qrx89Oo3vG24DmebRqoQYltqL2r6dWTDzv/LA0EXoBB97+I1+KvJfzjzErqJo9SZQs m2lHdI+/NWI/8xuA+EiG0JC77wqZ1NS8eYZ0c2mWGDB2g+xUcaU+EC9d/7pwSF7bgh UxbmCn5KuF+hA== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 712B21801E1 for ; Mon, 7 Jul 2025 15:44:51 +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=BAYES_50,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,DMARC_PASS,FREEMAIL_FROM, FREEMAIL_REPLYTO,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,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 mail-io1-f44.google.com (mail-io1-f44.google.com [209.85.166.44]) (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, 7 Jul 2025 15:44:51 +0000 (UTC) Received: by mail-io1-f44.google.com with SMTP id ca18e2360f4ac-87404493fd2so336013139f.3 for ; Mon, 07 Jul 2025 08:46:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1751903201; x=1752508001; darn=lists.php.net; h=cc:to:subject:message-id:date:from:reply-to:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=jiz4r/ZLa29Tuip3LR4Rkds21kUsJHY2jo2Xs1d5IpQ=; b=TEVSt+SZ0GPuDzXToOaS0PNpq+zLYmJFduSRvFw9sThegJ5s86eKnj6OKBA+2IDRwC RESb364wAQWUJoevO/D9yMh4cShEUT/UsVz+g4rj9iiEzZ98xZxlirEyd8DEbgau/+KD NLoc7a6zbpUwt/6hz8zl1rcZyObv2t4cD34wfGap6mRemsg9rz/QhYd8HBvS7kDQ7pYI qNjEhPSJSb2+aUu1IuNm0bWivIc5F3fuyZxFJEthDAmeMAWymhAcQgO1yvGPO9cE5RAd Mi/Ffht34syg/n5F1HS9jla/Re722biQdleXyfO6Z2f/iOvr8KI2BWxHc8ykZX8VhLza EUwA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1751903201; x=1752508001; h=cc:to:subject:message-id:date:from:reply-to:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=jiz4r/ZLa29Tuip3LR4Rkds21kUsJHY2jo2Xs1d5IpQ=; b=YmervHlILDUZ/YMaCr45+X4yfv6SSGAaDb6g66gjpHojgDHoGuN3u0W6cbj69mLVym LSwgJsEuUcYCcwo8DazwvGJcw9j0vQt1Ydy5sNnAU6Y/zC6myKYmYmznWrxejyM3YHHf +N56yYnZwkhugZfGEKU0WTVgu8t9vFY6yk5ryL6+DWdK0/GK4ax+k11Z/59HyGxkAFKB 8bXfgigK1Aqov2Dso4+pdCXA+wkfKqrYVnjlyuRVhtE8wmDP8imCWp2fUkXCqtrld1a/ qE9QfXMse5GFLmwbKD0vNg64cjC3qQUcy4WusMJcmTlMjgoWzGR/TvyKO31omNP08wlB EXXw== X-Forwarded-Encrypted: i=1; AJvYcCV138/iXqjGYqg1om3kfuCPDF9ueBYKWU7wUOhtOXH/FystlZB3fTSPKB0Ir/pQGVB8MIjaNVMqAZ4=@lists.php.net X-Gm-Message-State: AOJu0YwkLOPhpk9srdLmP+aaTI60O/rzx5b0HBzJMWCtE9GPIpTRhHE9 K2Q7hucYr3T1jFwx5vexFgdX4fvXiH4kjRE1zNe8cLiVUsKWQd9CnzrKVumyhdTVsaFKd99f859 nb2kTflqkX9IRS1dO3tHT4DDNQ0L0FnzMTuKD X-Gm-Gg: ASbGnctjbr6Rsacyw6oK5u8N9a922N830Fgj819aHu48mSxVVooy3YzQU+VIsAsQGMK ht9YQq7ynBWX+oJDJOyo1c0gClVcoIGjWVf2Nnoafs57xm4QkAPJSrEHS83eitcr+ubbzOzHfq3 Epy7ZE8HGgwhb5CHchrWkgJasPSzUc9FirJYeBC8DPkUXpxcdHU7K0qA+3fJfwSqlmxtkCy1roN A4SsA== X-Google-Smtp-Source: AGHT+IHz7oymKsfzPB67BxaP45v9ilQd2juXKjxiF7boLTydFUkMw7QE1F7m1YWa1a3iUhZkSc+Je+hn2QjKDMKzQQ4= X-Received: by 2002:a05:6e02:97:b0:3df:460a:ec3c with SMTP id e9e14a558f8ab-3e1355e9c4cmr142192485ab.22.1751903201306; Mon, 07 Jul 2025 08:46:41 -0700 (PDT) Precedence: bulk list-help: list-post: List-Id: internals.lists.php.net x-ms-reactions: disallow MIME-Version: 1.0 References: In-Reply-To: Reply-To: erictnorris@gmail.com Date: Mon, 7 Jul 2025 11:46:25 -0400 X-Gm-Features: Ac12FXxGlL-5HWqhpqQceEA6tFCGJ0Q2DH4ocrENXq95lXQO-DyKA6r60Xktrq0 Message-ID: Subject: Re: [PHP-DEV] [RFC] Deprecations for PHP 8.5 To: Bob Weinand Cc: "Gina P. Banyard" , Niels Dossche , internals@lists.php.net Content-Type: text/plain; charset="UTF-8" From: eric.t.norris@gmail.com (Eric Norris) > ** Deprecate the error_prepend_string and error_append_string INI directives > Why is that of questionable use? Why is "this is a development and debugging feature" considered a valid reason to get rid of something? It allows prominently displaying issues in development when they would be hidden behind other HTML otherwise. I recently made a change to the php_error_cb function for the Error Backtraces v2 RFC (https://wiki.php.net/rfc/error_backtraces_v2), and I recall that working inside that function was quite difficult. The error_prepend_string and error_append_string directives are a tiny part of the complexity there, but nonetheless removing them would maybe start to move us in a direction of greatly simplifying the implementation of php_error_cb, which I would support. I don't have strong feelings here, however.