Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:128443 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 2F8FC1A00BC for ; Fri, 8 Aug 2025 20:07:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1754683563; bh=VoISyboEeDF4fNTHqE0Y5D3N8ZNG+7eKBszaXPVk3ZA=; h=Date:To:From:Subject:In-Reply-To:References:From; b=WnJmaWsdKTo1VNxfKT4UZoxKhDgSt2epf9aDwWKphdtZBZAh0Ki3DHj3p2N5m5wzO 0M4OlxYyI5Aotnhnuy4HdMJ0/Tyj4FzdjlMD6sjgcWAJQQfyR1/birA6qWxGa8ChXY PIXl9quB//8FMe3Eif759rZf/m/JyBbCNP1fsOW4Uy5YAxET3qP0Zkc5z7LiTO9EXj jH8IAShHav38LPaysrFjsijNEI1i7bQiDSv41bNEf2cjB6IHOh5yLZ5VPa4jzJGI53 w+SIcdcDT125u7WGsWxJ8fUnQlTalAbRmAPRG/PT7F1N4aHmX9YeLA6z019fsJa6yE 8pt9LkUEnSFug== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 892D518005B for ; Fri, 8 Aug 2025 20:06:01 +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=-3.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,DMARC_PASS,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,SPF_PASS autolearn=no autolearn_force=no version=4.0.1 X-Spam-Virus: No X-Envelope-From: Received: from mail-10625.protonmail.ch (mail-10625.protonmail.ch [79.135.106.25]) (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, 8 Aug 2025 20:05:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gpb.moe; s=protonmail; t=1754683646; x=1754942846; bh=VoISyboEeDF4fNTHqE0Y5D3N8ZNG+7eKBszaXPVk3ZA=; h=Date:To:From:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector; b=g5zSh3aZ/v3H/IkaXdYvMQCHK+/kObzfgWfTJfFgxgtIdd+xOKtjbsuSOmm/Bpd4q ryVnRAGtwW+pmiD3Mzhm/MKmPX/13wVAknCY/0sGxGokSngoOeVyFIImwjHalgA/T2 I+SfD+dqzHwKl+tiTx4DgJoywo5j1O2E+d7I8/re4dD1DBp9ILe27HqekU0JVXBPbm h325cOOf9Nprvfe/9jzqn8LsuLnC3GJmZTPOzLVzeWJIEg/zJCPVuj7STnPRUiv/Yr WlO3dwCXvDvfe86qgesWS2lRktemuzO3dw7j7GW3Hjb38tyLzhCd9MSdX45Kjo6Orp 3T4poB5899W6Q== Date: Fri, 08 Aug 2025 20:07:19 +0000 To: PHP internals Subject: Re: [PHP-DEV] [RFC] [VOTE] Deprecations for PHP 8.5 Message-ID: In-Reply-To: References: Feedback-ID: 96993444:user:proton X-Pm-Message-ID: 205b965476bafe3bb956c425a029c6836ec04d5c Precedence: list list-help: list-post: List-Id: x-ms-reactions: disallow MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable From: internals@gpb.moe ("Gina P. Banyard") On Friday, 25 July 2025 at 13:56, Gina P. Banyard wrote= : > Hello internals, >=20 > As Tim announced a few days ago, I've opened the votes for the deprecatio= ns: > https://wiki.php.net/rfc/deprecations_php_8_5 >=20 > Please remember that the wiki is only capable to handle a single vote at = a time, > so please submit each vote you intend on casting individually. >=20 Hello internals, After two weeks of voting, I closed the votes of the "Deprecations for PHP = 8.5" RFC at 19:45 UTC. The following proposals have been accepted: - Deprecate semicolon after case in switch statement (22 yay, 10 nay, 68.8%= ) - Deprecate non-standard cast names (32 yay, 0 nay, 100%) - Deprecate backticks as an alias for shell_exec (21 yay, 8 nay, 72.4%) - Deprecate the __sleep() and __wakeup() magic methods (18 yay, 9 nay, 66.7= %) - Deprecate using values null as an array offset and when calling array_key= _exists() (25 yay, 3 nay, 89.3%) - Deprecate __debugInfo() returning null (22 yay, 5 nay, 81.5%) - Deprecate constant redeclaration (31 yay, 0 nay, 100%) - Deprecate closure binding issues (29 yay, 0 nay, 100%) - Enact follow-up phase of the "Path to Saner Increment/Decrement operators= " RFC (23 yay, 4 nay, 85.2%) - Deprecate the report_memleaks INI directive (23 yay, 2 nay, 92.0%) - Deprecate the register_argc_argv INI directive (27 yay, 0 nay, 100%) - Remove disable_classes INI setting (26 yay, 0 nay, 100%) - Deprecate Reflection*::setAccessible() (24 yay, 0 nay, 100%) - Deprecate ReflectionClass::getConstant() for missing constants (25 yay, 0= nay, 100%) - Deprecate ReflectionProperty::getDefaultValue() for properties without de= fault values (21 yay, 2 nay, 89.5%) - Deprecate ArrayObject and ArrayIterator with objects (26 yay, 0 nay, 100%= ) - Deprecate SplObjectStorage::contains(), SplObjectStorage::attach(), and S= plObjectStorage::detach() (17 yay, 2 nay, 89.5%) - Deprecate passing spl_autoload_call() to spl_autoload_unregister() (23 ya= y, 0 nay, 100%) - Deprecate the $exclude_disabled parameter of get_defined_functions() (23 = yay, 0 nay, 100%) - Deprecate passing null to readdir(), rewinddir(), and closedir() (24 yay,= 3 nay, 88.9%) - Deprecate passing string which are not one byte long to ord() (20 yay, 4 = nay, 83.3%) - Deprecate passing integers outside the interval [0, 255] to chr() (21 yay= , 1 nay, 95.5%) - Formally deprecate socket_set_timeout (22 yay, 0 nay, 100%) - Deprecate the $http_response_header predefined variable (22 yay, 2 nay, 9= 1.7%) - [ODBC] Remove flags for building against specific drivers directly (16 ya= y, 0 nay, 100%) - Remove support for older ODBC versions (15 yay, 0 nay, 100%) - Deprecate PDO's 'uri:' scheme (22 yay, 0 nay, 100%) - Deprecate driver specific PDO constants and methods (17 yay, 6 nay, 73.9%= ) - Deprecate Pdo\Pgsql constants related to statement transaction state (17 = yay, 0 nay, 100%) - Deprecate finfo_close() (24 yay, 2 nay, 92.3%) - Deprecate xml_parser_free() (22 yay, 2 nay, 91.7%) - Deprecate curl_close() (23 yay, 3 nay, 88.5%) - Deprecate curl_share_close() (23 yay, 3 nay, 88.5%) - Deprecate imagedestroy() (23 yay, 2 nay, 92.0%) - Deprecate key_length parameter of openssl_pkey_derive() (24 yay, 0 nay, 1= 00%) - Deprecate intl.error_level INI setting (22 yay, 0 nay, 100%) - Formally deprecate mysqli_execute() (22 yay, 0 nay, 100%) - Deprecate building ext/ldap against Oracle LDAP (19 yay, 0 nay, 100%) - Deprecate the $context parameter for finfo_buffer() (24 yay, 0 nay, 100%) - Deprecate DATE_RFC7231 and DateTimeInterface::RFC7231 (22 yay, 0 nay, 100= %) And the following proposals have been rejected: - Deprecate attributes applying to multiple class properties/constants (5 y= ay, 19 nay, 20.8%) - Deprecate ReflectionParameter::allowsNull() (9 yay, 10 nay, 47.4%) - Deprecate non-canonical type names for settype() (8 yay, 10 nay, 44.4%) - Deprecate FILTER_DEFAULT constant (12 yay, 10 nay, 54.5%) - Make $filter parameter mandatory for filter_*() functions (9 yay, 10 nay,= 47.4%) - Deprecate PDO::ERRMODE_WARNING error mode (8 yay, 12 nay, 40.0%) Thank you to everyone that has voted and participated in the discussions. Best regards, Gina P. Banyard