dharman

dharman

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.4

Author
The RFC proposes to deprecate the listed functionality in PHP 8.4 and remove it in PHP 9 (except where otherwise noted).

Formally deprecate and remove the aforementioned DOMDocument and DOMEntity properties?

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

Remove DOMImplementation::getFeature($feature, $version)

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

Deprecate DOM_PHP_ERR constant?

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

Deprecate unserialize()’s ‘S’ tag?

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

Deprecate the INI settings ‘session.sid_length’ and ‘session.sid_bits_per_character’?

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

Deprecate SplFixedArray::__wakeup()?

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

Deprecate xml_set_object() and xml_set_*_handler() with string method names

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

Deprecate passing null and false to dba_key_split()

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

Deprecate passing incorrect data types for options to ext/hash functions

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

Deprecate constants SUNFUNCS_RET_STRING, SUNFUNCS_RET_DOUBLE, and SUNFUNCS_RET_TIMESTAMP?

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

Deprecate passing a non-empty string to the $escape parameter

Yes
No
Yes
26 Votes (93%)
No
2 Votes (7%)

Remove the E_STRICT Error Level and Deprecate the E_STRICT constant?

Yes
No
Yes
29 Votes (85%)
No
5 Votes (15%)

Deprecate strtok()?

Yes
No
Yes
6 Votes (18%)
No
27 Votes (82%)

Deprecate returning non-string values from a user output buffer handler?

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

Deprecate producing output in a user output handler?

Yes
No
Yes
25 Votes (93%)
No
2 Votes (7%)

Deprecate using an array as the $data argument for file_put_contents()

Yes
No
Yes
20 Votes (57%)
No
15 Votes (43%)

Deprecate mysqli_ping() and mysqli::ping()?

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

Deprecate mysqli_refresh(), mysqli::refresh() and related constants?

Yes
No
Yes
27 Votes (96%)
No
1 Votes (4%)

Deprecate mysqli_kill() and mysqli::kill()?

Yes
No
Yes
27 Votes (96%)
No
1 Votes (4%)

Deprecate the second parameter to mysqli_store_result()?

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

Deprecate lcg_value()?

Yes
No
Yes
29 Votes (94%)
No
2 Votes (6%)

Deprecate uniqid()?

Yes
No
Yes
14 Votes (38%)
No
23 Votes (62%)

Deprecate md5(), sha1(), md5_file(), and sha1_file()?

Yes
No
Yes
18 Votes (46%)
No
21 Votes (54%)

Deprecate passing E_USER_ERROR to trigger_error()

Yes
No
Yes
27 Votes (93%)
No
2 Votes (7%)

Deprecate using a single underscore as a class name?

Yes
No
Yes
28 Votes (80%)
No
7 Votes (20%)

Deprecate SOAP_FUNCTIONS_ALL constant and passing it to SoapServer::addFunction()?

Yes
No
Yes
28 Votes (97%)
No
1 Votes (3%)

Deprecate autovivification on false

Author
Target
8.1
PHP natively allows for autovivification (auto-creation of arrays from falsey values). This feature is very useful and used in a lot of PHP projects, especially...

Deprecate autovivification from false?

Yes
No
Yes
34 Votes (94%)
No
2 Votes (6%)

Deprecate GET/POST sessions

Author
Target
8.4
PHP supports two ways to propagate session token ID: via cookies and through GET or POST parameters. Cookies are the default preferred method that has become th...

Accept Deprecate GET/POST session identifiers

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

Remove support for libmysql from mysqli

Author
Target
8.2
There are plenty of differences between the two drivers. Removing support for libmysql would allow PHP to simplify the code and unit tests. Advantages of mysqln...

Remove support for libmysql from mysqli

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

Change Default mysqli Error Mode

Author
Target
8.1
The current default error mode for mysqli is silent. This means that when an SQL error occurs, no errors or warnings may be emitted and no exceptions are thrown...

Change Default mysqli Error Mode

Yes
No
Yes
21 Votes (70%)
No
9 Votes (30%)

Add fetch_column method to mysqli

Author
Target
8.1
There are 3 methods in mysqli that return arrays from result set, one that returns stdClass object, and one that returns an array of arrays. However, mysqli doe...

Add mysqli_fetch_column to mysqli?

Yes
No
Yes
18 Votes (90%)
No
2 Votes (10%)

mysqli bind in execute

Author
Target
8.1
PDO has always offered binding values to the prepared statement directly in the execute() call by providing an array with the values. The same functionality was...

MySQLi bind-in-execute

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

Add http_parse_query as an alternative to parse_str

Author
Target
8.2
PHP offers a function for parsing query string into an array. The function, for historical reasons, has been designed to allow registering the values as global ...

Concepts to improve mysqli extension

Author
As we all know mysqli was created as a replacement for the old mysql_* API. The core improvements over the old API were: support for prepared statements, object...