Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:124695 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 qa.php.net (Postfix) with ESMTPS id 8FC421A00B7 for ; Tue, 30 Jul 2024 21:43:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1722375910; bh=ED08UG+XwENug1/pyyenb2gwdHTFdAV3ajm1Qj6ysrs=; h=Date:Subject:To:References:From:In-Reply-To:From; b=dFyxswuDZyYOrIbXHaM7TZvvwnp//Z+j01hMatkzHFNkke4fMwKV7L6ypcymT9Z8d t/0t428Tf7ut2grWqpRFnXgqj+5jPE6SqgQrYSgk6mYASodV9vo9M2aiSAfR+z2BoR RSeVlWfjem/M+qjNuBVHMjaUYtlmjhQ62vRu9EMkeA0jYYs3xsrI94fNeSNXFIHw5O PwHxP3rUBm4zT/F39PZaFqukvQPI6pY+3JEr1SedtEk8esIQAMxJgG+VEc4SdjAEUz kJh/xrke2ceVxwB+z5xBWbFV4vlkocAjaBnM35eIFazkYi7TrwY8hy1s3UZXlCAA4+ ktZfmnEzLOLbg== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 8BE6A18002E for ; Tue, 30 Jul 2024 21:45:09 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-13) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=0.2 required=5.0 tests=BAYES_50,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,DMARC_PASS, FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=4.0.0 X-Spam-Virus: No X-Envelope-From: Received: from mout.gmx.net (mout.gmx.net [212.227.15.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (prime256v1) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Tue, 30 Jul 2024 21:45:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmx.de; s=s31663417; t=1722375805; x=1722980605; i=cmbecker69@gmx.de; bh=rt5hsBAlQpp20X2hrGIj/gQWQuIX3r26TxIKf2gJI6o=; h=X-UI-Sender-Class:Message-ID:Date:MIME-Version:Subject:To: References:From:In-Reply-To:Content-Type: Content-Transfer-Encoding:cc:content-transfer-encoding: content-type:date:from:message-id:mime-version:reply-to:subject: to; b=SYlgPH3rvjulf0RKwNlX7i+JFD4Ez0gkEhI4lTV4w1xRwJ9njwgx4yE2axXV4UGK Z2HMuWoxlBx5+OZ2ryhnR5QYPb/LEz6kf/6ug1faZ9uCKvXj+qs+7S3s5ko5IKnTt XrhnUPRR5OJqSy7wfveoh8FW1MtCiplGZ90qc5rRgaK7str2DBNi/xKx9B+5Ux1St sdqpodRGvcvcjv5hWr2LnU/jrrUTMVVn/XupmLzkbRYwBPwoweeDaXjuXLiWznKya C4ZWfzreTSdG4wav4svkNmfBiwGjKNtKurv6MC7gvSlua2lQppjx15MucvAOdiPwX h3sRZ08UF+0qT7sN+w== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from [192.168.2.130] ([79.251.205.37]) by mail.gmx.net (mrgmx004 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MkHQh-1robZc2cwL-00cKtA; Tue, 30 Jul 2024 23:43:25 +0200 Message-ID: Date: Tue, 30 Jul 2024 23:43:25 +0200 Precedence: bulk list-help: list-post: List-Id: internals.lists.php.net x-ms-reactions: disallow MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PHP-DEV] [RFC] [VOTE] Deprecations for PHP 8.4 Content-Language: de-DE To: =?UTF-8?Q?Tim_D=C3=BCsterhus?= , "Rowan Tommins [IMSoP]" , internals@lists.php.net References: <1a88918e-e808-d778-45e1-53797660e093@php.net> <95147d9d-d6e8-4396-bf0b-409c33679f90@bastelstu.be> <89096756-9f50-4b10-9630-d3b18e4b9c29@gmx.de> <3beb3488-94fc-484e-ac6c-ce7a7a0facd2@app.fastmail.com> <921dcf17-280b-4005-b31f-5811dbe5ce62@gmx.de> <7f787046-17e8-4272-bd00-074fc21b9808@bastelstu.be> In-Reply-To: <7f787046-17e8-4272-bd00-074fc21b9808@bastelstu.be> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:hN610DC+nl1rlrMH8+PzVCmvpkFq5uQK8mY7gm4ecumex34CRsI iQLc6S7B1u6/vWMfBrECMEPXjVtRdSBmuBuV4MDhd86PA0RgvIuXeofA3gndS5DPh7ZA32Q 0UnHgIT4HJ1GHZ8Nge74pJTotxFejY5XtATZoK+fR3wJ7MTGtNcJVG4x4Hjs5biUJzm6p2u r9s5yyRfe6U92XxAS6qaQ== UI-OutboundReport: notjunk:1;M01:P0:i53Th5Mwm6c=;4UqRbbdW9s94SVDvvsTD5hTx4ZG ZjhsFgshH6gwNUWjMrRJ7b0JqT7gua+/7VibTOVyE8wwAH1QYYBR+7NNMjBt8SXS4zfXdnqGJ VbcRCxi9ugV3BYMg3q6oZRYCB7+AsGM3Fmn0cfYL6E0b/YDQSd4jMAl/sn3A1UDeNPqBkv3PK lHnr5Hz4bmOLsop3IbuW8MaefjTnteBWHX/qqw3bzNv2ZeGrXevpXySqLcjnl5N192k+KsVIQ HTVSmLITIHns0A8+Hf6px+nbTcEjUTE/UJZWWaxw169TBiLvJ+sNIp8cuETP5Mqzob0vDiGEv 22kyqaiZEJ7cgmEUNOic4WGdENat4nal3kZaEduJxHaSU7sl7wkNpISbSnqrtqFoE2oUOxqCR IAvzY/s81cFsluGJA+FFOBpqNKaHSuLFfVbahROzd67/HnE3/9II7oBZLEJJqiupLKNsM4FPG AMM9cnqs6l6YK/h6rxlEzleLN/cWwi1+sQVXW5dw42bFZ/jra4gQPQXpPtDBJtqtDjxii+G1P ETqnIhguB5ZcJ9xiMdDOvz/Ufke3rz2CrqeuNm3mmWa/Z/OR+4WjN5jdm1hx04wo0spSvTpkF zeqH62piTgEdIriSjguLKRWlRGF0C3buq+wyf4r9hM/6wue6Q5b6SQaUdopedwTASulGzmV5b tOdB+1922E2WjVZzANVoPzfAtWNzPJ7GqJOzX9imQyA3yk9FWQ2ZPAQo/0L1WkaFKHXtyv6JG njUkn2vlpXcQeyFl3sqrvYlw/fgLtEID8tXibBIZdO/tG/jeZ/MmsrHrJclDEFh8237ZdmqBl //fybDQ489c66axVl3bxF9JQ== From: cmbecker69@gmx.de ("Christoph M. Becker") On 30.07.2024 at 21:20, Tim D=C3=BCsterhus wrote: > What prevented me personally from adding a "soft deprecation" to the > documentation is, that the function is not actually deprecated and not > slated for deprecation. It is not up to me to decide to soft deprecate > something. Well, yeah, that needs some discussion at least. > And regarding your remark of not reaching folks, I agree. uniqid()'s > documentation is already full of warnings, but folks still reach for it. "I haven't looked at the documentation, because I know what uniqid() does: it gives me a unique ID. I've read that 20 years ago in a great tutorial." ;) > I've proposed a deprecation instead of any other error level, because it > is the least severe error level we have available: Libraries and > Frameworks nowadays generally understand that deprecations are not hard > errors and thus do not convert these to exceptions, but instead just > direct them to a different log file / show them in the framework's > debugging toolkit. Thinking about it, deprecations are not really a problem, so no need for E_STRICT, that would unlikely help. The actual problem is that some projects try to be strict about deprecations (and would likely be about E_STRICT either), and others wait until the functionality is no longer availabe, anyway. There is probably no way to offer users a smoother upgrade path. Cheers, Christoph