jordikroon

jordikroon

Contributor Directory

RFCs

Language and policy proposals from this contributor
RFCs are part of the process by which decisions are made about PHP. For more information about the RFC process as well as viewing a full list of RFCs please visit the RFC section.

Deprecations for PHP 8.6

Author
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?

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

Deprecate returning from a finally block?

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

Deprecate using let as an identifier?

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

Deprecate using namespace as a class constant name?

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

Deprecate using in, out, and inout as identifiers?

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

Deprecate using is as an identifier?

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

Deprecate the possibility to name a function readonly?

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

Deprecate using _ as a constant and compile time alias?

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

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

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

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

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

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

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

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

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

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

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

Passing objects for $vars parameter of mb_convert_variables()?

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

Passing objects for $data parameter of http_build_query()?

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

Deprecate is_double()?

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

Deprecate is_integer()?

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

Deprecate is_long()?

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

Deprecate doubleval()?

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

Deprecate define() with $case_insensitive being specified?

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

Deprecate is_subclass_of with string when $allow_string is false?

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

Deprecate is_a with string when $allow_string is false?

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

Deprecate strcoll()?

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

Deprecate SORT_LOCALE_STRING flag for sort() functions?

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

Deprecate Metaphone Function?

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

Deprecate dechunk filter?

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

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

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

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

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

Deprecate ArrayIterator methods that inherit ArrayObject implementation?

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

Deprecate spl_classes()?

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

Deprecate spl_object_hash()?

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

Deprecate SplFileObject CSV methods?

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

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

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

Deprecate mysqli_get_charset()?

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

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

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