RFC: Deprecations for PHP 8.5

Project Governance
Author
Author
cmb
Author
Daniel Scherzer
Author
Author
Author
Jorg Sowa
Author
David Carlier
Author
Author
Author
Target
8.5
The RFC proposes to deprecate the listed functionality in PHP 8.5 and remove it in PHP 9 (except where otherwise noted).

Deprecate semicolon-terminated case statements?

Overall Results

Yes
No
Yes
22 Votes (69%)
No
10 Votes (31%)

Voting Timeline

Dates based on UTC

Voting Breakdown

Deprecate non-standard cast names?

Overall Results

Yes
No
Yes
32 Votes (100%)
No
0 Votes (0%)

Voting Timeline

Dates based on UTC

Voting Breakdown

Deprecate attributes applying to multiple class properties/constants

Overall Results

Yes
No
Yes
5 Votes (21%)
No
19 Votes (79%)

Voting Timeline

Dates based on UTC

Voting Breakdown

Deprecate backticks as an alias for shell_exec?

Overall Results

Yes
No
Yes
21 Votes (72%)
No
8 Votes (28%)

Voting Timeline

Dates based on UTC

Voting Breakdown

Deprecate the __sleep() and __wakeup() magic methods?

Overall Results

Yes
No
Yes
18 Votes (67%)
No
9 Votes (33%)

Voting Timeline

Dates based on UTC

Voting Breakdown

Deprecate using values null as an array offset and when calling array_key_exists()?

Overall Results

Yes
No
Yes
25 Votes (89%)
No
3 Votes (11%)

Voting Timeline

Dates based on UTC

Voting Breakdown

Deprecate __debugInfo() returning null?

Overall Results

Yes
No
Yes
22 Votes (81%)
No
5 Votes (19%)

Voting Timeline

Dates based on UTC

Voting Breakdown

Deprecate constant redeclaration?

Overall Results

Yes
No
Yes
31 Votes (100%)
No
0 Votes (0%)

Voting Timeline

Dates based on UTC

Voting Breakdown

Deprecate closure binding issues?

Overall Results

Yes
No
Yes
29 Votes (100%)
No
0 Votes (0%)

Voting Timeline

Dates based on UTC

Voting Breakdown

Enact follow-up phase of the Path to Saner Increment/Decrement operators RFC?

Overall Results

Yes
No
Yes
23 Votes (85%)
No
4 Votes (15%)

Voting Timeline

Dates based on UTC

Voting Breakdown

Deprecate the report_memleaks INI directive?

Overall Results

Yes
No
Yes
23 Votes (92%)
No
2 Votes (8%)

Voting Timeline

Dates based on UTC

Voting Breakdown

Deprecate the register_argc_argv INI directive and make in default to Off in PHP 8.5, then hardcode it to Off for all non-CLI-related SAPIs on PHP 9 (while keeping it hardcoded to On for CLI-related ones)?

Overall Results

Yes
No
Yes
27 Votes (100%)
No
0 Votes (0%)

Voting Timeline

Dates based on UTC

Voting Breakdown

Remove disable_classes INI setting?

Overall Results

Yes
No
Yes
26 Votes (100%)
No
0 Votes (0%)

Voting Timeline

Dates based on UTC

Voting Breakdown

Deprecate Reflection*::setAccessible()?

Overall Results

Yes
No
Yes
24 Votes (100%)
No
0 Votes (0%)

Voting Timeline

Dates based on UTC

Voting Breakdown

Deprecate ReflectionParameter::allowsNull()?

Overall Results

Yes
No
Yes
9 Votes (47%)
No
10 Votes (53%)

Voting Timeline

Dates based on UTC

Voting Breakdown

Deprecate ReflectionClass::getConstant() for missing constants?

Overall Results

Yes
No
Yes
25 Votes (100%)
No
0 Votes (0%)

Voting Timeline

Dates based on UTC

Voting Breakdown

Deprecate ReflectionProperty::getDefaultValue() for properties without default values?

Overall Results

Yes
No
Yes
22 Votes (92%)
No
2 Votes (8%)

Voting Timeline

Dates based on UTC

Voting Breakdown

Deprecate ArrayObject and ArrayIterator with objects?

Overall Results

Yes
No
Yes
26 Votes (100%)
No
0 Votes (0%)

Voting Timeline

Dates based on UTC

Voting Breakdown

Deprecate SplObjectStorage::contains(), SplObjectStorage::attach(), and SplObjectStorage::detach()?

Overall Results

Yes
No
Yes
17 Votes (89%)
No
2 Votes (11%)

Voting Timeline

Dates based on UTC

Voting Breakdown

Deprecate passing spl_autoload_call() to spl_autoload_unregister()?

Overall Results

Yes
No
Yes
23 Votes (100%)
No
0 Votes (0%)

Voting Timeline

Dates based on UTC

Voting Breakdown

Deprecate non-canonical type names for settype()?

Overall Results

Yes
No
Yes
8 Votes (44%)
No
10 Votes (56%)

Voting Timeline

Dates based on UTC

Voting Breakdown

Deprecate the $exclude_disabled parameter of get_defined_functions()?

Overall Results

Yes
No
Yes
23 Votes (100%)
No
0 Votes (0%)

Voting Timeline

Dates based on UTC

Voting Breakdown

Deprecate passing null to readdir(), rewinddir(), and closedir()?

Overall Results

Yes
No
Yes
24 Votes (89%)
No
3 Votes (11%)

Voting Timeline

Dates based on UTC

Voting Breakdown

Deprecate passing string which are not one byte long to ord()?

Overall Results

Yes
No
Yes
20 Votes (83%)
No
4 Votes (17%)

Voting Timeline

Dates based on UTC

Voting Breakdown

Deprecate passing integers outside the interval [0, 255] to chr()?

Overall Results

Yes
No
Yes
21 Votes (95%)
No
1 Votes (5%)

Voting Timeline

Dates based on UTC

Voting Breakdown

Formally deprecate socket_set_timeout?

Overall Results

Yes
No
Yes
22 Votes (100%)
No
0 Votes (0%)

Voting Timeline

Dates based on UTC

Voting Breakdown

Deprecate the $http_response_header predefined variable?

Overall Results

Yes
No
Yes
22 Votes (92%)
No
2 Votes (8%)

Voting Timeline

Dates based on UTC

Voting Breakdown

Deprecate FILTER_DEFAULT constant?

Overall Results

Yes
No
Yes
12 Votes (55%)
No
10 Votes (45%)

Voting Timeline

Dates based on UTC

Voting Breakdown

Emit a deprecation notice when using the default value for the $filter argument of the filter_*() functions?

Overall Results

Yes
No
Yes
9 Votes (47%)
No
10 Votes (53%)

Voting Timeline

Dates based on UTC

Voting Breakdown

Deprecate special build system support for drivers without a driver manager?

Overall Results

Yes
No
Yes
16 Votes (100%)
No
0 Votes (0%)

Voting Timeline

Dates based on UTC

Voting Breakdown

Deprecate ODBCVER checks?

Overall Results

Yes
No
Yes
15 Votes (100%)
No
0 Votes (0%)

Voting Timeline

Dates based on UTC

Voting Breakdown

Deprecate PDO’s uri: scheme?

Overall Results

Yes
No
Yes
22 Votes (100%)
No
0 Votes (0%)

Voting Timeline

Dates based on UTC

Voting Breakdown

Deprecate PDO::ERRMODE_WARNING constant?

Overall Results

Yes
No
Yes
8 Votes (40%)
No
12 Votes (60%)

Voting Timeline

Dates based on UTC

Voting Breakdown

Deprecate driver specific PDO constants and methods?

Overall Results

Yes
No
Yes
17 Votes (74%)
No
6 Votes (26%)

Voting Timeline

Dates based on UTC

Voting Breakdown

Deprecate statement transaction state specific PDO constants?

Overall Results

Yes
No
Yes
17 Votes (100%)
No
0 Votes (0%)

Voting Timeline

Dates based on UTC

Voting Breakdown

Deprecate finfo_close()?

Overall Results

Yes
No
Yes
24 Votes (92%)
No
2 Votes (8%)

Voting Timeline

Dates based on UTC

Voting Breakdown

Deprecate xml_parser_free()?

Overall Results

Yes
No
Yes
22 Votes (92%)
No
2 Votes (8%)

Voting Timeline

Dates based on UTC

Voting Breakdown

Deprecate curl_close()?

Overall Results

Yes
No
Yes
23 Votes (88%)
No
3 Votes (12%)

Voting Timeline

Dates based on UTC

Voting Breakdown

Deprecate curl_share_close()?

Overall Results

Yes
No
Yes
23 Votes (88%)
No
3 Votes (12%)

Voting Timeline

Dates based on UTC

Voting Breakdown

Deprecate imagedestroy()?

Overall Results

Yes
No
Yes
23 Votes (92%)
No
2 Votes (8%)

Voting Timeline

Dates based on UTC

Voting Breakdown

Deprecate key_length parameter of openssl_pkey_derive()?

Overall Results

Yes
No
Yes
24 Votes (100%)
No
0 Votes (0%)

Voting Timeline

Dates based on UTC

Voting Breakdown

Deprecate intl.error_level INI setting?

Overall Results

Yes
No
Yes
22 Votes (100%)
No
0 Votes (0%)

Voting Timeline

Dates based on UTC

Voting Breakdown

Formally deprecate mysqli_execute?

Overall Results

Yes
No
Yes
22 Votes (100%)
No
0 Votes (0%)

Voting Timeline

Dates based on UTC

Voting Breakdown

Deprecate building ext/ldap against Oracle LDAP?

Overall Results

Yes
No
Yes
19 Votes (100%)
No
0 Votes (0%)

Voting Timeline

Dates based on UTC

Voting Breakdown

Deprecate the $context parameter for finfo_buffer()?

Overall Results

Yes
No
Yes
24 Votes (100%)
No
0 Votes (0%)

Voting Timeline

Dates based on UTC

Voting Breakdown

Deprecate DATE_RFC7231 and DateTimeInterface::RFC7231?

Overall Results

Yes
No
Yes
22 Votes (100%)
No
0 Votes (0%)

Voting Timeline

Dates based on UTC

Voting Breakdown