RFC: Deprecations for PHP 8.6

Project Governance
Author
Author
Author
Author
Author
Osama Aldemeery
Author
Daniel Scherzer
Author
Sjoerd Langkemper
Author
Seifeddine Gmati
Author
Nick Sdot
Author
Muhammed Arshid
The RFC proposes to deprecate the listed functionality in PHP 8.6 and remove it in PHP 9 (except where otherwise noted).

Deprecate the list() construct?

Overall Results

Yes
No
Abstain
Yes
23 Votes (49%)
No
23 Votes (49%)
Abstain
1 Votes (2%)

Voting Timeline

Dates based on UTC

Voting Breakdown

Deprecate returning from a finally block?

Overall Results

Yes
No
Abstain
Yes
39 Votes (85%)
No
3 Votes (7%)
Abstain
4 Votes (9%)

Voting Timeline

Dates based on UTC

Voting Breakdown

Deprecate using let as an identifier?

Overall Results

Yes
No
Abstain
Yes
24 Votes (55%)
No
11 Votes (25%)
Abstain
9 Votes (20%)

Voting Timeline

Dates based on UTC

Voting Breakdown

Deprecate using namespace as a class constant name?

Overall Results

Yes
No
Abstain
Yes
29 Votes (66%)
No
8 Votes (18%)
Abstain
7 Votes (16%)

Voting Timeline

Dates based on UTC

Voting Breakdown

Deprecate using in, out, and inout as identifiers?

Overall Results

Yes
No
Abstain
Yes
8 Votes (18%)
No
21 Votes (48%)
Abstain
15 Votes (34%)

Voting Timeline

Dates based on UTC

Voting Breakdown

Deprecate using is as an identifier?

Overall Results

Yes
No
Abstain
Yes
29 Votes (64%)
No
10 Votes (22%)
Abstain
6 Votes (13%)

Voting Timeline

Dates based on UTC

Voting Breakdown

Deprecate the possibility to name a function readonly?

Overall Results

Yes
No
Abstain
Yes
39 Votes (93%)
No
1 Votes (2%)
Abstain
2 Votes (5%)

Voting Timeline

Dates based on UTC

Voting Breakdown

Deprecate using _ as a constant and compile time alias?

Overall Results

Yes
No
Abstain
Yes
34 Votes (79%)
No
4 Votes (9%)
Abstain
5 Votes (12%)

Voting Timeline

Dates based on UTC

Voting Breakdown

Deprecate using _ as a function name and the _() function alias for gettext()?

Overall Results

Yes
No
Abstain
Yes
10 Votes (23%)
No
22 Votes (51%)
Abstain
11 Votes (26%)

Voting Timeline

Dates based on UTC

Voting Breakdown

Passing objects for $array parameter of array_walk() and array_walk_recursive()?

Overall Results

Yes
No
Abstain
Yes
41 Votes (93%)
No
3 Votes (7%)
Abstain
0 Votes (0%)

Voting Timeline

Dates based on UTC

Voting Breakdown

Passing objects for $options parameter of deflate_init() and inflate_init()?

Overall Results

Yes
No
Abstain
Yes
39 Votes (89%)
No
4 Votes (9%)
Abstain
1 Votes (2%)

Voting Timeline

Dates based on UTC

Voting Breakdown

Passing objects as parameters to the zlib.inflate and zlib.deflate stream filters?

Overall Results

Yes
No
Abstain
Yes
38 Votes (86%)
No
4 Votes (9%)
Abstain
2 Votes (5%)

Voting Timeline

Dates based on UTC

Voting Breakdown

Passing objects as parameters to the bzip2.decompress and bzip2.compress stream filters?

Overall Results

Yes
No
Abstain
Yes
38 Votes (86%)
No
4 Votes (9%)
Abstain
2 Votes (5%)

Voting Timeline

Dates based on UTC

Voting Breakdown

Passing objects for $vars parameter of mb_convert_variables()?

Overall Results

Yes
No
Abstain
Yes
39 Votes (91%)
No
2 Votes (5%)
Abstain
2 Votes (5%)

Voting Timeline

Dates based on UTC

Voting Breakdown

Passing objects for $data parameter of http_build_query()?

Overall Results

Yes
No
Abstain
Yes
21 Votes (48%)
No
10 Votes (23%)
Abstain
13 Votes (30%)

Voting Timeline

Dates based on UTC

Voting Breakdown

Deprecate is_double()?

Overall Results

Yes
No
Abstain
Yes
40 Votes (91%)
No
2 Votes (5%)
Abstain
2 Votes (5%)

Voting Timeline

Dates based on UTC

Voting Breakdown

Deprecate is_integer()?

Overall Results

Yes
No
Abstain
Yes
39 Votes (89%)
No
2 Votes (5%)
Abstain
3 Votes (7%)

Voting Timeline

Dates based on UTC

Voting Breakdown

Deprecate is_long()?

Overall Results

Yes
No
Abstain
Yes
39 Votes (89%)
No
2 Votes (5%)
Abstain
3 Votes (7%)

Voting Timeline

Dates based on UTC

Voting Breakdown

Deprecate doubleval()?

Overall Results

Yes
No
Abstain
Yes
38 Votes (86%)
No
2 Votes (5%)
Abstain
4 Votes (9%)

Voting Timeline

Dates based on UTC

Voting Breakdown

Deprecate define() with $case_insensitive being specified?

Overall Results

Yes
No
Abstain
Yes
41 Votes (93%)
No
0 Votes (0%)
Abstain
3 Votes (7%)

Voting Timeline

Dates based on UTC

Voting Breakdown

Deprecate is_subclass_of with string when $allow_string is false?

Overall Results

Yes
No
Abstain
Yes
37 Votes (84%)
No
0 Votes (0%)
Abstain
7 Votes (16%)

Voting Timeline

Dates based on UTC

Voting Breakdown

Deprecate is_a with string when $allow_string is false?

Overall Results

Yes
No
Abstain
Yes
38 Votes (86%)
No
0 Votes (0%)
Abstain
6 Votes (14%)

Voting Timeline

Dates based on UTC

Voting Breakdown

Deprecate strcoll()?

Overall Results

Yes
No
Abstain
Yes
39 Votes (87%)
No
2 Votes (4%)
Abstain
4 Votes (9%)

Voting Timeline

Dates based on UTC

Voting Breakdown

Deprecate SORT_LOCALE_STRING flag for sort() functions?

Overall Results

Yes
No
Abstain
Yes
38 Votes (88%)
No
2 Votes (5%)
Abstain
3 Votes (7%)

Voting Timeline

Dates based on UTC

Voting Breakdown

Deprecate Metaphone Function?

Overall Results

Yes
No
Abstain
Yes
20 Votes (45%)
No
8 Votes (18%)
Abstain
16 Votes (36%)

Voting Timeline

Dates based on UTC

Voting Breakdown

Deprecate dechunk filter?

Overall Results

Yes
No
Abstain
Yes
18 Votes (40%)
No
15 Votes (33%)
Abstain
12 Votes (27%)

Voting Timeline

Dates based on UTC

Voting Breakdown

Deprecate ReflectionProperty::setValue() and ReflectionProperty::setRawValue() with wrong types?

Overall Results

Yes
No
Abstain
Yes
43 Votes (93%)
No
1 Votes (2%)
Abstain
2 Votes (4%)

Voting Timeline

Dates based on UTC

Voting Breakdown

Deprecate ReflectionMethod::invoke() and ReflectionMethod::invokeArgs() with objects for static methods?

Overall Results

Yes
No
Abstain
Yes
39 Votes (91%)
No
3 Votes (7%)
Abstain
1 Votes (2%)

Voting Timeline

Dates based on UTC

Voting Breakdown

Deprecate ArrayIterator methods that inherit ArrayObject implementation?

Overall Results

Yes
No
Abstain
Yes
42 Votes (98%)
No
1 Votes (2%)
Abstain
0 Votes (0%)

Voting Timeline

Dates based on UTC

Voting Breakdown

Deprecate spl_classes()?

Overall Results

Yes
No
Abstain
Yes
43 Votes (100%)
No
0 Votes (0%)
Abstain
0 Votes (0%)

Voting Timeline

Dates based on UTC

Voting Breakdown

Deprecate spl_object_hash()?

Overall Results

Yes
No
Abstain
Yes
26 Votes (57%)
No
9 Votes (20%)
Abstain
11 Votes (24%)

Voting Timeline

Dates based on UTC

Voting Breakdown

Deprecate SplFileObject CSV methods?

Overall Results

Yes
No
Abstain
Yes
25 Votes (56%)
No
5 Votes (11%)
Abstain
15 Votes (33%)

Voting Timeline

Dates based on UTC

Voting Breakdown

Deprecate mysqli::stmt_init, mysqli_stmt_init, and mysqli_stmt::__construct without the second argument?

Overall Results

Yes
No
Abstain
Yes
40 Votes (93%)
No
0 Votes (0%)
Abstain
3 Votes (7%)

Voting Timeline

Dates based on UTC

Voting Breakdown

Deprecate mysqli_get_charset()?

Overall Results

Yes
No
Abstain
Yes
43 Votes (100%)
No
0 Votes (0%)
Abstain
0 Votes (0%)

Voting Timeline

Dates based on UTC

Voting Breakdown

Deprecate passing a $sessionhandler object to session_set_save_handler() which does not contain the create_sid() and validateId() methods?

Overall Results

Yes
No
Abstain
Yes
26 Votes (62%)
No
2 Votes (5%)
Abstain
14 Votes (33%)

Voting Timeline

Dates based on UTC

Voting Breakdown