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/06/26 20:21] – Added FILTER_SANITIZE_MAGIC_QUOTES and cleaned up the pdo_odbc.db2_instance_name section kalle | ||
---|---|---|---|
Line 12: | Line 12: | ||
* 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 53: | Line 56: | ||
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.0 and later removed in PHP 5.4.0, however the FILTER_SANITIZE_MAGIC_QUOTES were never deprecated. This filter basically mimics calling addslashes() to the input in question. | ||
+ | |||
+ | Proposed action: Add a deprecation notice for each time the FILTER_SANITIZE_MAGIC_QUOTES is used. | ||
+ | |||
+ | Implementation: | ||
+ | |||
+ | ==== pdo_odbc.db2_instance_name php.ini directive ==== | ||
+ | |||
+ | As of PHP 5.1.1 '' | ||
+ | |||
+ | The side effect here is that this setting is per process wide and also affects the ODBC extension, which can create some hard to debug siturations. 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