Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:124703 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 92EB81A00B7 for ; Wed, 31 Jul 2024 21:49:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1722462688; bh=VYOSPEsSRla1ednQ5GQaMmJfF2uLahJHkIztMYOHmMc=; h=Date:Subject:To:References:From:In-Reply-To:From; b=dsQ+x/sqc6b1wHqpbWv+EJmh9g4TSnPCcHy0Cre3n6hWf+AROIntWalMBeteg37L/ boK7v6NPEQ9PC/1s6hLjMLkq4XwsyVSimSElIlfdR+uDUE19QLDNNDzmWY2krcllAx N5iOaoe84uchc/hEiPkdN9+UyjjMejlFuB49m8budDiM79AgEYfXFcrhQK8t6xxIM/ X09HtCQPD70Ahz87CWxWchWvC+Jbd5im8R4yG4m1A7fybQ4yXCpfFqoZUmMzQ9OVga ZGPd0+dE6cM+q93eiYlegzod+/y9XKN6hIWAq+hhH8QNbt02T/zXUP6q0UhtFEYFHb nOdRK/itDOBig== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 1103318003A for ; Wed, 31 Jul 2024 21:51:28 +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.17.21]) (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 ; Wed, 31 Jul 2024 21:51:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmx.de; s=s31663417; t=1722462584; x=1723067384; i=cmbecker69@gmx.de; bh=VYOSPEsSRla1ednQ5GQaMmJfF2uLahJHkIztMYOHmMc=; 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=e8qQX74+1zh7usI4a6ZZUbyQXxRbBYaimz6+0WQW2TrZMdCuw8kfXtm3mxpipzRz xqn4lr1wYskKHIiOxd/dmX4pPLPYOSl1an8Bk5aqRLnMi/+8w93PSzuCMs2WeRJho qXvbrlFqhpIuXwKfojIcRPRRB4iN6ilAv+k8PzkJi9vLp8RYhPt15ux9MgQhFx6WL FB+GrHKMMXWXp01N3ZJzme4Mk0qBIOXRXfWF1MZDHNDwExqVuuhPi7PAZkrwcgAoZ KOnBuv7ORdbw+o9rxSukyg4BSTqiwH4A4pW1MV+KKDYNMyDmSumgfDFe12mVk2WgS U1mSDPTXvOzHdA6LVA== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from [192.168.2.130] ([79.251.205.37]) by mail.gmx.net (mrgmx104 [212.227.17.168]) with ESMTPSA (Nemesis) id 1M6Udt-1sbk2L1tHd-00CR0G; Wed, 31 Jul 2024 23:49:44 +0200 Message-ID: <0839d8b7-9f81-4ba5-8e15-9684215003a8@gmx.de> Date: Wed, 31 Jul 2024 23:49:44 +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: "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> <70262e95-f0e7-40c0-a731-480f178cbc35@bastelstu.be> In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:DGSS9yto+l0RWdYnVcK9dvW2X6MULCrYBt7UnxlI6bD8kGhEpQL yblWO2BFHidi49fCC8Yqy2BUoSSIG+8MSCXbGgK+hggSSptnxKT7hR2QFV1OV4sV1q5A4O1 e6Uc1csxhYQscL/KmiOGo7QPqcXkqKX7K7QTakkDl/dVKXj+Ig0pj3ugx4p5Bcsd36I5Oza 1N6LQsj5yCv+JUZkWqOCg== UI-OutboundReport: notjunk:1;M01:P0:KGoS78E2c+4=;1LXKfZv2Mu+re+JrrpIXmndao/X oJVc35tZLHMBno78Y9ohWgiIAodXPPzDL8jEohKJjhobduxLrNBCNWAVKyR3bE4MN6JZN+/5+ jTP6EHbI3p+AAEh6Q/i57+oeQ2MfSqtvfVKHD340fgWwpGHu/xR2Fb4JUrxSZxvcwCsE5nnC+ Q0/EHSxT5qnE6a7Q6Ockx8gp0oTMREqmPra1MQBwWcznxDhjq33vytrThliOI180TCH+aD82t 4uG3OTW1gjdUW16tY4MjoeMyoecUz8qxAwOAfWAzpWujXzyGVWSBJ290I47bcHSwqMB4E68hK vCStTurhK+vZuMU11enjB8itBbLol12k/a1fart9t2dBm//wEIiAqfDeslYyQ87i/jPdHSZzm GBawKF4arfD7SAtwRFnpxBSg3Ah3AENad7w6I9qiNbvc2un0gMPhIb+yk7CpzkcOHCEE+asJR XPwZr6ofWJweTxvHdvQHUuHE6vwZj6q2q0nOgoTgInlu2hCDfoyQl8p159iIDvCxv0FYj4oye igf7kMvdqbB2otSsqNNZNay48b7UGbTxG6nKWzmT1ERrzh0B42GUyVxgIP0l5c3F4mumZNhMP zNlzkcRG29hZpnYQWHB1EL3IrqPUbe8UuHVNKPeMsJ/rAAvv5nQRkrrqNZdnl9xc4Nfr7LwEy zTiEYO1qcsEKdnYde56koUV/x0Tgrn1jOKfcg/oaxJNTtnHJ+KdDGxnVEwHVbyHYSCbOHMNBV 3VpAxi0xoNZzdweK0Q+mTFc5l+nu/nVmxgyXRlAKHseRlcrLOW0OUliHwEKS5l60pRAVC9BOT Sf9yA0i1J5uQF3QzG71EBagw== From: cmbecker69@gmx.de ("Christoph M. Becker") On 31.07.2024 at 23:13, Rowan Tommins [IMSoP] wrote: > On 30/07/2024 20:15, Tim D=C3=BCsterhus wrote: > >> Part of the motivation of the deprecation (and my argument against the >> addition of a standalone sha256() function) is simplifying the >> documentation: Everything needs to be written down in multiple >> different places, any changes to hash_file() will likely also need to >> be applied to md5_file() and sha1_file() - and then it will need to be >> translated. > > We already have a solution for this: named snippets (implemented as XML > entities), which exist in the source once, are translated once, and then > inserted into every page that applies when it's rendered to HTML. These entities are of limited use, though, since they are not parametrizable, so you always get exactly the same text, and may need ugly workarounds to even use entities for reusable text snippets. And lots of entities can make the sources of the documentation pretty hard to read. Cheers, Christoph