rfc:magicquotes
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
rfc:magicquotes [2008/04/16 05:18] – initial commit of MQ RFC philip | rfc:magicquotes [2017/09/22 13:28] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 2: | Line 2: | ||
* Version: 1.0 | * Version: 1.0 | ||
* Date: April 15, 2008 | * Date: April 15, 2008 | ||
+ | * Last updated: April 16, 2008 | ||
* Author: Philip Olson < | * Author: Philip Olson < | ||
- | * Status: | + | * Status: |
+ | * Note: //This RFC is about PHP 6.0 (our old HEAD/Trunk) and NOT PHP 5.4// | ||
* First Published at: http:// | * First Published at: http:// | ||
+ | * Followed up by: [[rfc/ | ||
===== Introduction ===== | ===== Introduction ===== | ||
Line 38: | Line 41: | ||
?> | ?> | ||
</ | </ | ||
+ | |||
+ | Also, as currently done, setting magic quotes via the directive (like in php.ini) to //on// should produce a fatal error in PHP 6, but continue to do nothing if set to //off//. In PHP 5.3 this is to produce an // | ||
===== Required changes from today ===== | ===== Required changes from today ===== | ||
+ | |||
* Remove E_DEPRECATED warnings from the 5.3 branch for get_* | * Remove E_DEPRECATED warnings from the 5.3 branch for get_* | ||
* Restore get_* functions to PHP 6, and return false | * Restore get_* functions to PHP 6, and return false | ||
===== Why do this? ===== | ===== Why do this? ===== | ||
+ | |||
Because programmers enjoy writing portable version friendly code, and have done so for many years both past, present, and future. The idea presented in this RFC is the original decision[1], | Because programmers enjoy writing portable version friendly code, and have done so for many years both past, present, and future. The idea presented in this RFC is the original decision[1], | ||
+ | |||
+ | ===== Questions ===== | ||
+ | |||
+ | The main concern with this RFC is how we default magic_quotes_gpc to On in PHP 5.2 but suddenly set it to off with an E_DEPRECATED error in PHP 5.3. If this remains then an extremely strong education effort must be executed. | ||
===== References ===== | ===== References ===== | ||
+ | |||
* [1] http:// | * [1] http:// | ||
* [2] http:// | * [2] http:// |
rfc/magicquotes.1208323096.txt.gz · Last modified: 2017/09/22 13:28 (external edit)