On Wed, Jun 30, 2021 at 11:32 AM Nikita Popov <nikita.ppv@gmail.com> wrote:
> Hi internals,
>
> I have opened voting on https://wiki.php.net/rfc/deprecations_php_8_1.
> The vote closes on 2021-07-14.
>
> This RFC is a collection of various deprecation suggestions from different
> people. Each deprecation is voted separately, and should be considered on
> its own merit.
>
> Most deprecations should be uncontroversial, but there are some more
> contentious ones as well: See https://externals.io/message/113657 for
> additional discussion.
>
Here are the results of the vote.
The following deprecations have been declined:
* get_class(), get_parent_class() and get_called_class() without argument:
21 in favor, 21 against
* t fopen mode: 13 in favor, 17 against
The following deprecations have been accepted:
* date_sunrise() and date_sunset(): 51 in favor, 0 against
* key(), current(), next(), prev(), and reset() on objects: 48 in favor, 0
against
* mb_check_encoding() without argument: 44 in favor, 0 against
* FILE_BINARY and FILE_TEXT constants: 42 in favor, 1 against
* Passing bool for $value argument of IntlCalendar::roll(): 38 in favor, 0
against
* Accessing static members on traits: 40 in favor, 0 against
* strptime(): 35 in favor, 0 against
* strftime() and gmtstrftime(): 29 in favor, 9 against
* mhash*() function family: 38 in favor, 0 against
* ctype_*() function family accepts int parameters: 34 in favor, 2 against
* Return by reference with void type: 39 in favor, 1 against
* NIL constant defined by the IMAP extension: 35 in favor, 0 against
* Calling overloaded pgsql functions without the connection argument: 36
in favor, 1 against
* $num_points parameter of image(open|filled)polygon: 20 in favor, 9
against
* mysqli::init(): 34 in favor, 0 against
* filter.default ini setting: 28 in favor, 4 against
* auto_detect_line_endings ini setting: 38 in favor, 0 against
* ssl_method option to SoapClient constructor: 25 in favor, 1 against
* FILTER_SANITIZE_STRING: 36 in favor, 0 against,
* oci8.old_oci_close_semantics ini setting: 27 in favor, 0 against
* odbc_result_all(): 34 in favor, 0 against
Regards,
Nikita