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/04 21:23] – Add gzgetss() to the fgetss() point nikic | rfc:deprecations_php_7_3 [2018/07/08 21:07] – Remove FILTER_SANITIZE_MAGIC_QUOTES (now in 7.4) nikic | ||
---|---|---|---|
Line 3: | Line 3: | ||
* Author: Nikita Popov < | * Author: Nikita Popov < | ||
* Status: Under Discussion | * Status: Under Discussion | ||
+ | * Implementation: | ||
===== Introduction ===== | ===== Introduction ===== | ||
Line 14: | Line 15: | ||
* '' | * '' | ||
* Defining a free-standing '' | * Defining a free-standing '' | ||
- | * '' | + | * '' |
- | * '' | + | |
* '' | * '' | ||
Line 65: | 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 ==== | ==== pdo_odbc.db2_instance_name php.ini directive ==== | ||
- | As of PHP 5.1.1 '' | + | 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. | + | 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. | Proposed action: Add a deprecation notice if the ini directive has a value at module initialization. |
rfc/deprecations_php_7_3.txt · Last modified: 2018/07/21 21:50 by nikic