Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:125866 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 F3BF51A00BD for ; Fri, 25 Oct 2024 19:32:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1729884874; bh=pTkR2JWpSfWVDcnhRWIiHPI2inPRpn2CWsXMERqEPzM=; h=Date:Subject:To:References:From:In-Reply-To:From; b=Rsancyo5fifAV7MATDlX+3vV6AYgOe0xQN2k6Syew0deVE2ljRm9ppHCQ2n2esCTF ALKGYcr1WS95kwDtL7pKf6WqRLHHlDLxLuyKkYzleD+bnNN4BHpl2aEw9pSkwFtK6X JdeVLZsILgMoU/ISRTd4bgFLJY5StoJOfPnC0K3OZ3TmvaNhgOTUfcxD+JFQe5urTi C8tQAZUn0hGbWvP9bUQjcP9E51SUkS0fQx4PP0o6PNZc6bVT/GqbGVm2f4XsdHe52h aRIoprjvyQKaMb3kmbBsTQNu3s7Y4N0TG9vzoaTgK6VkR3hXgfyrTDQQMPjzPpGOvL CigOXB0KfIYJg== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 146EC180074 for ; Fri, 25 Oct 2024 19:34:34 +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.6 required=5.0 tests=BAYES_50,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,DMARC_PASS,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=4.0.0 X-Spam-Virus: No X-Envelope-From: Received: from mail-wm1-f45.google.com (mail-wm1-f45.google.com [209.85.128.45]) (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 ; Fri, 25 Oct 2024 19:34:33 +0000 (UTC) Received: by mail-wm1-f45.google.com with SMTP id 5b1f17b1804b1-43168d9c6c9so23918535e9.3 for ; Fri, 25 Oct 2024 12:32:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1729884726; x=1730489526; darn=lists.php.net; h=content-transfer-encoding:in-reply-to:from:content-language :references:to:subject:user-agent:mime-version:date:message-id:from :to:cc:subject:date:message-id:reply-to; bh=jBteZV1qLlDA6yJlo2Xd5MYg2es+gxyfuYn5eTvqT1Q=; b=IPEuYrIHUBfUQ3wT9ce/z5UJACydTY2Vs9+FkryOi1Yl4FJ5h5O+UIG0vDKZms/TAD XRdBh+0EsH1cqtzRdCoH2RSda3TltvQa47V1aVPcIFaYzy/jXHe81ZxmsqPnHf5TKJGi HzrQnBwvmqmzq9VrHJsP52Y/ydmdPoosLWJgvmWH/M3V4p3psIwvfl8I6Fe+ia8H2/nC dUGx9PxRsurbg5tE0Q/wcfwkUCeW4mtEGieanO8Y0rmSOaDDpRL5MGIEq7vBSJOC3ySi WYpYAddjcHEUEU/PxJxLowNfkEP7FSP48s6yF2q6cB6o6FdPz1YeAZmRgU/8bowQAoul 8mSQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729884726; x=1730489526; h=content-transfer-encoding:in-reply-to:from:content-language :references:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=jBteZV1qLlDA6yJlo2Xd5MYg2es+gxyfuYn5eTvqT1Q=; b=ZqmC8slHoDK6cf5+0scWlRSc13C9kp5KPAAQj7XIjpfYyiu7Ml20CEJLplw+fkeEiS r7TtGTbirtcuT8Hzd1yCXjQwE7xA2+lvnPkcVhyMRVv8RGjYeb5VDSObXkkKWELHXZPW DXX0MyB9sLDtk7YzV8GtAVYSyZY34p4/G2+GZNVO8GMIFjbFpy1U1aGW//AdqyinRVbk fvUGkU4IoD/4/lKYsFWwovAkN9nHr8gbQRb8JDD7rTZ8IhHxeCxfHGPPRGfosQ959SZu swte1q0YAo8HxDOg4AhwpNyp+kx1QeAMQB+c23elWnYlD+SN0uzjDTLD5UEv+uCdrvkL uT6w== X-Gm-Message-State: AOJu0YyO4NBEHaBckr4cKiAoYwGVMKUHIeIiUMV8Ew5kKT9bmRQVHJh/ CpdhvPFsy/LnvN4WKUDsnRSPQnyxHxjpcUDTtt1fkUnOzMozLEypqgbKqw== X-Google-Smtp-Source: AGHT+IEwlhejCZA8xKl1HAfQphXHIwAZV0jK8jGTNhyn6vBlvt0wP8GDIaMY9qnX/9bbKDK4yeGSDw== X-Received: by 2002:a05:600c:3c8c:b0:431:4fa0:2e0b with SMTP id 5b1f17b1804b1-4319ad146b1mr2187205e9.28.1729884726062; Fri, 25 Oct 2024 12:32:06 -0700 (PDT) Received: from ?IPV6:2a02:1811:cd2f:3500:e093:fcad:4f6:e542? (ptr-du5vm7f5ekzptmf0fgi.18120a2.ip6.access.telenet.be. [2a02:1811:cd2f:3500:e093:fcad:4f6:e542]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-38058b70bcdsm2349565f8f.82.2024.10.25.12.32.05 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 25 Oct 2024 12:32:05 -0700 (PDT) Message-ID: <4fc9dc81-3dfe-4ae0-b51f-b57aef95c539@gmail.com> Date: Fri, 25 Oct 2024 21:32:39 +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] Deprecate mhash constants? To: internals@lists.php.net References: <59b90e89-ec59-4161-b870-e104605e0810@gmx.de> Content-Language: en-US In-Reply-To: <59b90e89-ec59-4161-b870-e104605e0810@gmx.de> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit From: dossche.niels@gmail.com (Niels Dossche) On 25/10/2024 19:24, Christoph M. Becker wrote: > Hi all, > > recently, it was discovered that although the mhash functions are > deprecated as of PHP 8.1.0[1], the mhash constants are not yet > deprecated. I believe that was just an oversight, since the are well > hidden in the sources, and we don't even have them in the stub files[2]. > > I made a PR to actually deprecate the constants[3]. Does anybody feel > this needs the RFC process? > > [1] > [2] > [3] > > Christoph Since their intended use is deprecated, just deprecate them already too :) Kind regards Niels