Re: [PHP-DEV] [RFC] [VOTE] Deprecations for PHP 8.6

[email protected] ("Gina P. Banyard")
Newsgroups php.internals
Message-ID <7JPqngTSqYGNblj5jLLUzr35AwK_Oa_FQzIEHqNLdVMiSeOZ8Us9Uoq-nNaDa3dcrgTrArnmI3C_l-la6gyn9W_eppH3cQKO1AeMxnstIFU=@gpb.moe>
On Monday, 3 August 2026 at 19:22, Gina P. Banyard <[email protected]> wrote:

> On Monday, 27 July 2026 at 11:31, Gina P. Banyard <[email protected]> wrote:
> 
> > Hello internals,
> >
> > As announced last week I've opened the vote for the 8.6 mass deprecation RFC:
> > https://wiki.php.net/rfc/deprecations_php_8_6
> >
> > The vote runs for two weeks and will close automatically on the 10th of August 2026 at 13:00:00 UTC.
> >
> > Please remember that the wiki is only capable to handle a single vote at a time,
> > so each vote MUST be submitted individually.
> 
> As a reminder to everyone, one week remains for voting on the mass 8.6 deprecation RFC.

Hello internals,

After two weeks of voting, the votes of the "Deprecations for PHP 8.6" RFC were closed at 13:00 UTC.

The following proposals have been accepted:

- Deprecate returning from a finally block (39 yay, 3 nay, 4 abstention, 90.7%)
- Deprecate using let as an identifier (24 yay, 11 nay, 9 abstention, 68.6%)
- Deprecate using "namespace" as a class constant name (29 yay, 8 nay, 7 abstention, 78.4%)
- Deprecate using "is" as an identifier (29 yay, 10 nay, 6 abstention, 74.4%)
- Deprecate the possibility to name a function "readonly" (39 yay, 1 nay, 2 abstention, 97.5%)
- Deprecate using "_" as a constant and compile time alias (34 yay, 4 nay, 5 abstention, 89.5%)
- Passing objects for $array parameter of array_walk() and array_walk_recursive() (41 yay, 3 nay, 0 abstention, 93.2%)
- Passing objects for $options parameter of deflate_init() and inflate_init() (39 yay, 4 nay, 1 abstention, 90.7%)
- Passing objects as parameters to the ''zlib.inflate'' and ''zlib.deflate'' stream filters (38 yay, 4 nay, 2 abstention, 90.5%)
- Passing objects as parameters to the ''bzip2.decompress'' and ''bzip2.compress'' stream filters (38 yay, 4 nay, 2 abstention, 90.5%)
- Passing objects for $vars parameter of mb_convert_variables() (39 yay, 2 nay, 2 abstention, 95.1%)
- Passing objects for $data parameter of http_build_query() (21 yay, 10 nay, 13 abstention, 67.7%)
- Deprecate is_double() (40 yay, 2 nay, 2 abstention, 95.2%)
- Deprecate is_integer() (39 yay, 2 nay, 3 abstention, 95.1%)
- Deprecate is_long() (39 yay, 2 nay, 3 abstention, 95.1%)
- Deprecate doubleval() (38 yay, 2 nay, 4 abstention, 95.0%)
- Deprecate define() with $case_insensitive being specified (41 yay, 0 nay, 3 abstention, 100%)
- Deprecate is_subclass_of with string when $allow_string is false (37 yay, 0 nay, 7 abstention, 100%)
- Deprecate is_a with string when $allow_string is false (38 yay, 0 nay, 6 abstention, 100%)
- Deprecate strcoll() (39 yay, 2 nay, 4 abstention, 95.1%)
- Deprecate SORT_LOCALE_STRING flag for sort() functions (38 yay, 2 nay, 3 abstention, 95.0%)
- Deprecate Metaphone Function (20 yay, 8 nay, 16 abstention, 71.4%)
- Deprecate ReflectionProperty::setValue() and ReflectionProperty::setRawValue() with wrong types (43 yay, 1 nay, 2 abstention, 97.7%)
- Deprecate ReflectionMethod::invoke() and ReflectionMethod::invokeArgs() with objects for static methods (39 yay, 3 nay, 1 abstention, 90.7%)
- Deprecate ArrayIterator methods that inherit ArrayObject implementation (42 yay, 1 nay, 0 abstention, 97.7%)
- Deprecate spl_classes() (43 yay, 0 nay, 0 abstention, 100%)
- Deprecate spl_object_hash() (26 yay, 9 nay, 11 abstention, 74.3%)
- Deprecate SplFileObject CSV methods (25 yay, 5 nay, 15 abstention, 83.3%)
- Deprecate mysqli::stmt_init (40 yay, 0 nay, 3 abstention, 100%)
- Deprecate mysqli_get_charset() (43 yay, 0 nay, 0 abstention, 100%)
- Deprecate passing a $sessionhandler object to session_set_save_handler() which does not contain the create_sid() and validateId() methods (26 yay, 2 nay, 14 abstention, 92.9%)

And the following proposals have been rejected:

- Deprecate the list() construct (23 yay, 23 nay, 1 abstention, 50.0%)
- Deprecate using "in", "out", and "inout" as identifiers (8 yay, 21 nay, 15 abstention, 27.6%)
- Deprecate using "_" as a function name and the _() function alias for gettext() (10 yay, 22 nay, 11 abstention, 31.3%)
- Deprecate dechunk filter (18 yay, 15 nay, 12 abstention, 54.5%)


Thank you to everyone that has voted and participated in the discussions.

Best regards,

Gina P. Banyard
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.