rfc:deprecations_php_7_3
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
rfc:deprecations_php_7_3 [2018/07/08 21:07] – Remove FILTER_SANITIZE_MAGIC_QUOTES (now in 7.4) nikic | rfc:deprecations_php_7_3 [2018/07/16 16:57] – Accepted nikic | ||
---|---|---|---|
Line 2: | Line 2: | ||
* Date: 2017-08-02 | * Date: 2017-08-02 | ||
* Author: Nikita Popov < | * Author: Nikita Popov < | ||
- | * Status: | + | * Status: |
* Implementation: | * Implementation: | ||
+ | * Discussion: https:// | ||
===== Introduction ===== | ===== Introduction ===== | ||
Line 20: | Line 21: | ||
===== Proposal ===== | ===== Proposal ===== | ||
- | Each feature proposed for deprecation is voted separately. Each vote requires a 2/3 majority, independently of whether it is a language or standard library change. All votes refer to deprecation in PHP 7.3 and removal in the next major version (presumably PHP 8.0). | + | Each feature proposed for deprecation is voted separately. Each vote requires a 2/3 majority, independently of whether it is a language or standard library change. All votes refer to deprecation in PHP 7.3 and removal in the next major version (presumably PHP 8.0). The votes close on 2018-07-16. |
==== Undocumented mbstring function aliases ==== | ==== Undocumented mbstring function aliases ==== | ||
Line 27: | Line 28: | ||
Proposed action: Mark the functions as deprecated, so that a deprecation notice is emitted on every call. In PHP 8 these aliases will be removed. | Proposed action: Mark the functions as deprecated, so that a deprecation notice is emitted on every call. In PHP 8 these aliases will be removed. | ||
+ | |||
+ | <doodle title=" | ||
+ | * Yes | ||
+ | * No | ||
+ | </ | ||
==== String search functions with integer needle ==== | ==== String search functions with integer needle ==== | ||
Line 43: | Line 49: | ||
Proposed action: Throw a deprecation warning if a non-string is passed as a needle to '' | Proposed action: Throw a deprecation warning if a non-string is passed as a needle to '' | ||
+ | |||
+ | <doodle title=" | ||
+ | * Yes | ||
+ | * No | ||
+ | </ | ||
==== fgetss() function and string.strip_tags filter ==== | ==== fgetss() function and string.strip_tags filter ==== | ||
Line 49: | Line 60: | ||
Proposed action: Mark '' | Proposed action: Mark '' | ||
+ | |||
+ | <doodle title=" | ||
+ | * Yes | ||
+ | * No | ||
+ | </ | ||
==== Defining a free-standing assert() function ==== | ==== Defining a free-standing assert() function ==== | ||
Line 57: | Line 73: | ||
Proposed action: Generate a compile-time deprecation warning if an '' | Proposed action: Generate a compile-time deprecation warning if an '' | ||
+ | |||
+ | <doodle title=" | ||
+ | * Yes | ||
+ | * No | ||
+ | </ | ||
==== FILTER_FLAG_SCHEME_REQUIRED and FILTER_FLAG_HOST_REQUIRED ==== | ==== FILTER_FLAG_SCHEME_REQUIRED and FILTER_FLAG_HOST_REQUIRED ==== | ||
Line 65: | Line 86: | ||
Implementation: | Implementation: | ||
+ | |||
+ | <doodle title=" | ||
+ | * Yes | ||
+ | * No | ||
+ | </ | ||
==== pdo_odbc.db2_instance_name php.ini directive ==== | ==== pdo_odbc.db2_instance_name php.ini directive ==== | ||
Line 75: | Line 101: | ||
Implementations: | Implementations: | ||
+ | |||
+ | <doodle title=" | ||
+ | * Yes | ||
+ | * No | ||
+ | </ | ||
===== Backward Incompatible Changes ===== | ===== Backward Incompatible Changes ===== | ||
Line 80: | Line 111: | ||
For PHP 7.3 additional deprecation notices will appear. For PHP 8.0 the previously deprecated functionality will no longer be available. | For PHP 7.3 additional deprecation notices will appear. For PHP 8.0 the previously deprecated functionality will no longer be available. | ||
- | ===== Vote ===== | + | ===== Proposed Voting Choices |
Each of the bullet points above will get a separate vote. All votes will require a 2/3 supermajority, | Each of the bullet points above will get a separate vote. All votes will require a 2/3 supermajority, |
rfc/deprecations_php_7_3.txt · Last modified: 2018/07/21 21:50 by nikic