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/06/24 16:37] – Ready RFC for discussion nikic | rfc:deprecations_php_7_3 [2018/07/05 20:11] – Add implementation link nikic | ||
---|---|---|---|
Line 3: | Line 3: | ||
* Author: Nikita Popov < | * Author: Nikita Popov < | ||
* Status: Under Discussion | * Status: Under Discussion | ||
+ | * Implementation: | ||
===== Introduction ===== | ===== Introduction ===== | ||
Line 12: | Line 13: | ||
* Undocumented mbstring function aliases | * Undocumented mbstring function aliases | ||
* String search functions with integer needle | * String search functions with integer needle | ||
- | * fgetss() function and string.strip_tags filter | + | * '' |
- | * Defining a free-standing assert() function | + | * Defining a free-standing |
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
===== Proposal ===== | ===== Proposal ===== | ||
Line 45: | Line 49: | ||
The '' | The '' | ||
- | Proposed action: Mark '' | + | Proposed action: Mark '' |
==== Defining a free-standing assert() function ==== | ==== Defining a free-standing assert() function ==== | ||
Line 53: | Line 57: | ||
To avoid confusion due to this behavior, it is suggested to forbid the definition of free-standing '' | To avoid confusion due to this behavior, it is suggested to forbid the definition of free-standing '' | ||
- | Proposed action: Generate a deprecation warning if '' | + | Proposed action: Generate a compile-time |
+ | |||
+ | ==== FILTER_FLAG_SCHEME_REQUIRED and FILTER_FLAG_HOST_REQUIRED ==== | ||
+ | |||
+ | As of PHP 5.2.1 '' | ||
+ | |||
+ | Proposed action: Generate a deprecation warning if the '' | ||
+ | |||
+ | Implementation: | ||
+ | |||
+ | ==== FILTER_SANITIZE_MAGIC_QUOTES ==== | ||
+ | |||
+ | Magic quotes were deprecated all the way back in PHP 5.3 and later removed in PHP 5.4, however FILTER_SANITIZE_MAGIC_QUOTES was never deprecated. This filter basically mimics calling addslashes() on the input in question. | ||
+ | |||
+ | Proposed action: Emit a deprecation notice each time the FILTER_SANITIZE_MAGIC_QUOTES filter is used. | ||
+ | |||
+ | ==== pdo_odbc.db2_instance_name php.ini directive ==== | ||
+ | |||
+ | As of PHP 5.1.1 '' | ||
+ | |||
+ | The side effect here is that this setting is process wide and also affects the ODBC extension, which can create some hard to debug situations. Besides this, the PECL package, ibm_db2 seems to implement the exact same behavior which could also conflict. | ||
+ | |||
+ | Proposed action: Add a deprecation notice if the ini directive has a value at module initialization. | ||
+ | |||
+ | Implementations: | ||
===== Backward Incompatible Changes ===== | ===== Backward Incompatible Changes ===== |
rfc/deprecations_php_7_3.txt · Last modified: 2018/07/21 21:50 by nikic