calvinb

calvinb

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.

Display Function Arguments in Errors

Author
Target
8.6
PHP errors (and warnings, notices, etc.) for built-in native functions show the function that raised them. However, the display of parameters in these errors is...

Add a error_include_args INI setting as described

Yes
No
Abstain
Yes
24 Votes (89%)
No
2 Votes (7%)
Abstain
1 Votes (4%)

Default value for error_include_args

"1"
"0"
Abstain
"1"
7 Votes (27%)
"0"
18 Votes (69%)
Abstain
1 Votes (4%)

If error_include_args defaults to 1, default value in run-tests.php

"1"
"0"
Abstain
"1"
1 Votes (5%)
"0"
7 Votes (35%)
Abstain
12 Votes (60%)

Deprecations for PHP 8.5

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?

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

Deprecate non-standard cast names?

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

Deprecate attributes applying to multiple class properties/constants

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

Deprecate backticks as an alias for shell_exec?

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

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

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

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

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

Deprecate __debugInfo() returning null?

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

Deprecate constant redeclaration?

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

Deprecate closure binding issues?

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

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

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

Deprecate the report_memleaks INI directive?

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

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

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

Remove disable_classes INI setting?

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

Deprecate Reflection*::setAccessible()?

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

Deprecate ReflectionParameter::allowsNull()?

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

Deprecate ReflectionClass::getConstant() for missing constants?

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

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

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

Deprecate ArrayObject and ArrayIterator with objects?

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

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

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

Deprecate passing spl_autoload_call() to spl_autoload_unregister()?

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

Deprecate non-canonical type names for settype()?

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

Deprecate the $exclude_disabled parameter of get_defined_functions()?

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

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

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

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

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

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

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

Formally deprecate socket_set_timeout?

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

Deprecate the $http_response_header predefined variable?

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

Deprecate FILTER_DEFAULT constant?

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

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

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

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

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

Deprecate ODBCVER checks?

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

Deprecate PDO’s uri: scheme?

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

Deprecate PDO::ERRMODE_WARNING constant?

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

Deprecate driver specific PDO constants and methods?

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

Deprecate statement transaction state specific PDO constants?

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

Deprecate finfo_close()?

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

Deprecate xml_parser_free()?

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

Deprecate curl_close()?

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

Deprecate curl_share_close()?

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

Deprecate imagedestroy()?

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

Deprecate key_length parameter of openssl_pkey_derive()?

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

Deprecate intl.error_level INI setting?

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

Formally deprecate mysqli_execute?

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

Deprecate building ext/ldap against Oracle LDAP?

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

Deprecate the $context parameter for finfo_buffer()?

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

Deprecate DATE_RFC7231 and DateTimeInterface::RFC7231?

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