Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:124701 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 C23901A00B7 for ; Wed, 31 Jul 2024 21:16:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1722460694; bh=qVtKn0QgkZZm4q8jzzqnniOmZBEJ6ZjQBuxBVQS7bKM=; h=Date:Subject:To:References:From:In-Reply-To:From; b=FQov6Mjciz5lZ0vH3OOqrcGRwQPplE614e9zZ1OaSI8yMboArGhOZtLlZjtDc9LjP Rwe12gZnEdLMc/rhJVybR8u+6lczbbMPhRNPQUEOQ2g3eBFrRUaZoemD1yDLfhMiiZ 7rIFnN6ZJ+gypN7dJ50xU4mei75ccKSXXOgkPIauXNJXQZwARKpm8SmYaYNP1126va Y56IDLEdLejzS1lapvq4e6hwHPOEJLuZqvhJDBkdT/nFSmcyDsc61MLiSwfYkJd2qA GqgRatmb9N9Phd6qQHSljnz/ubaYIlO5xwTdmxS3y0gIiG16XpyvHpCXFN4lgDGx5z zL4fnB2Gqauzg== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 6407B18003A for ; Wed, 31 Jul 2024 21:18:11 +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.8 required=5.0 tests=BAYES_50,DMARC_MISSING, SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=4.0.0 X-Spam-Virus: No X-Envelope-From: Received: from alcott.smtp.mailx.hosts.net.nz (alcott.smtp.mailx.hosts.net.nz [43.245.52.158]) (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:18:09 +0000 (UTC) Received: from 125-237-145-229-fibre.sparkbb.co.nz ([125.237.145.229] helo=[192.168.1.68]) by alcott.smtp.mailx.hosts.net.nz with esmtpsa authed as varteg.nz (TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_128_GCM:128) (Exim 4.96) (envelope-from ) id 1sZGgF-001xIt-2r for internals@lists.php.net; Thu, 01 Aug 2024 09:16:19 +1200 Message-ID: Date: Thu, 1 Aug 2024 09:15:58 +1200 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 To: internals@lists.php.net References: <1a88918e-e808-d778-45e1-53797660e093@php.net> <3563cf9b-8eab-4c82-b525-a5d2f9a767bb@varteg.nz> <38920A4B-790D-48C7-B2F6-C49D3F506232@rwec.co.uk> <0824789d-0e36-4628-85c1-4b8d9b7f86af@varteg.nz> <2244a37f-8c51-448d-8a56-329ff32e6470@bastelstu.be> Content-Language: en-GB In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Hosts-DKIM-Check: none From: weedpacket@varteg.nz (Morgan) On 2024-07-31 13:07, Mike Schinkel wrote: >> On Jul 30, 2024, at 4:26 PM, Tim Düsterhus wrote: >> The problem with adding standalone functions for every algorithm is that it would result in a combinatorial explosion of available functions. > I commented on this but as it was probably missed in a longer reply so I will repeat. > > There is no overwhelming benefit to having a dedicated function for*every* combination. However I can see a benefits to having a dedicated function for the most commonly used functions. A problem is that MD5 should _not_ be one of the most commonly used algorithms. Also, providing a dedicated function for an algorithm over and above others that don't get such special treatment inflates use of that algorithm, making it more commonly used. It becomes self-reinforcing.