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/26 17:13] – Add FILTER_FLAG deprecations 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 15: | Line 15: | ||
* Defining a free-standing '' | * Defining a free-standing '' | ||
* '' | * '' | ||
+ | * '' | ||
+ | * '' | ||
===== Proposal ===== | ===== Proposal ===== | ||
Line 63: | Line 65: | ||
Implementation: | 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