rfc:removal-of-deprecated-features

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
Next revisionBoth sides next revision
rfc:removal-of-deprecated-features [2010/04/07 07:20] – created kallerfc:removal-of-deprecated-features [2010/04/23 04:25] – Add patch for allow_call_time_pass_reference pierrick
Line 1: Line 1:
-====== Request for Comments: Removal of deprecated features ======+ ====== Request for Comments: Removal of deprecated features ======
   * Version: 1.0   * Version: 1.0
   * Date: 07/04 - 2010   * Date: 07/04 - 2010
   * Author: Kalle Sommer Nielsen <kalle@php.net>   * Author: Kalle Sommer Nielsen <kalle@php.net>
-  * Status: in the works+  * Status: Under Discussion
  
  
Line 10: Line 10:
  
 ===== Features ===== ===== Features =====
-  * __safe_mode/register_globals/register_long_arrays/magic_quotes_*/allow_call_time_pass_reference__ - Original to be removed in PHP6, there isn't much point in keeping the deprecation warning in the next version of PHP, no matter if its a major or minor version +  * Original to be removed in PHP6, there isn't much point in keeping the deprecation warning in the next version of PHP, no matter if its a major or minor version - See also the [[rfc:magicquotes]] 
-  * __define_syslog_variables__ and its associated function - Originally agreed to be removed in PHP6 during the PHP 5.3 development +     * __safe_mode__ - Safe mode and its ini directives 
-  * __asp_tags__ - Was on the old PHP6 todo list for discussion +     * <del>__register_globals__ - Register-globals</del> 
-  * __sql_safe_mode__ - See [[http://wiki.php.net/rfc/drop_sql.safe_mode]] +     * <del>__register_long_arrays__ - Long arrays like $HTTP_XXX_VARS (Patch available below)</del> 
-  * __y2k_compliance__ - Always enable this ini option, we are in 2010 now. This shouldn't cause any other breakage, perhaps Derick have a comment here? +     * __magic_quotes_*__ - Magic quotes, including GPC, Sybase & runtime 
-  * __detect_unicode/highlight_bg__ - Marked in the manual as a removed features of PHP6, perhaps worth revisiting +     * __allow_call_time_pass_reference__ - Call time pass by-reference (sort(&$array) and the like) 
-  * __enable_dl__ - Worth keeping since its only available in CLI/CGI/Embed? +  * <del>__define_syslog_variables__ and its associated function - Originally agreed to be removed in PHP6 during the PHP 5.3 development</del> 
-  * __Class named constructors__ - Also a feature thats been in the manual as something that should be avoided and would be removed in a coming version of PHP +  * <del>__asp_tags__ - Was on the old PHP6 todo list for discussion</del> **REJECTED** 
-  * __session_register/session_is_registered/session_unregister functions__ - Only needed for register_globals=On +  * __sql_safe_mode__ - See also the [[rfc:drop_sql.safe_mode]] RFC 
-  * __undocumented and incomplete support for strings in list() operator__ - As from the old PHP6 NEWS file +  * <del>__y2k_compliance__ - Always enable this ini option, we are in 2010 now. This shouldn't cause any other breakage, perhaps Derick have a comment here? (Patch available below)</del> 
-  * __Support for Freetype 1 and GD 1__ +  * <del>__detect_unicode/highlight_bg__ - Marked in the manual as a removed features of PHP6, perhaps worth revisiting</del> **HIGHLIGHT REMOVED, UNICODE REJECTED** 
-  * __Support for "continue" and "break" operators with non-constant operands__+  * <del>__enable_dl__ - Worth keeping since its only available in CLI/CGI/Embed?</del> **REJECTED** 
 +  * <del>__Class named constructors__ - Also a feature thats been in the manual as something that should be avoided and would be removed in a coming version of PHP</del> **REJECTED** 
 +  * <del>__session_register/session_is_registered/session_unregister functions__ - Only needed for register_globals=On</del> 
 +  * <del>__session.bug_compat_42__ and __session.bug_compat.warn__ - As discussed for the old PHP6</del> 
 +  * <del>__pdo_odbc.db2_instance_name__ - Never merged to PHP6 during its implementation in PHP5.1</del> **RESTORED DUE TO THE BRANCHING OF PHP_5_3 TO TRUNK** 
 +  * __undocumented and incomplete support for strings in list() operator__ - As from the old PHP6 NEWS file, See R233181 
 +  * __Support for Freetype 1 and GD 1__ - See R197385, R197386, R203752 and family commits 
 +  * __Support for "continue" and "break" operators with non-constant operands__ - See R200653 
 + 
 +===== Comments ===== 
 +  * Make a list of all deprecated features in PHP, including all that throw an E_DEPRECATED level error 
 +  * Make a list of all "unofficial" deprecated features that may not throw errors, like all the old mysql aliases 
 +  * Determine when/if these will ever be removed from PHP 
 +===== Patches ===== 
 +  * <del>__register_long_arrays__: http://pastie.org/912599</del> **COMMITTED** 
 +  * <del>__y2k_compliance__: http://pastie.org/915121</del> **COMMITTED** 
 +  * <del>__register_globals__: http://pastie.org/917780</del> **COMMITTED** 
 +  * __magic_quotes_*__: http://pastie.org/923288 
 +  * __allow_call_time_pass_reference__: http://pastie.org/930950
rfc/removal-of-deprecated-features.txt · Last modified: 2017/09/22 13:28 by 127.0.0.1