rfc:removal-of-deprecated-features

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
rfc:removal-of-deprecated-features [2010/04/15 16:47] – register_long_arrays removed kallerfc:removal-of-deprecated-features [2017/09/22 13:28] (current) – external edit 127.0.0.1
Line 3: Line 3:
   * Date: 07/04 - 2010   * Date: 07/04 - 2010
   * Author: Kalle Sommer Nielsen <kalle@php.net>   * Author: Kalle Sommer Nielsen <kalle@php.net>
-  * Status: Under Discussion+  * Status: Implemented in PHP 5.4
  
  
 ===== Introduction ===== ===== Introduction =====
 This RFC focuses on removing old and long time deprecated features from the next version of PHP. Patches for each of these features will be made for the features that is going to be removed if this RFC or parts of it is accepted. This RFC focuses on removing old and long time deprecated features from the next version of PHP. Patches for each of these features will be made for the features that is going to be removed if this RFC or parts of it is accepted.
- 
 ===== Features ===== ===== Features =====
   * 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]]   * 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]]
-     * __safe_mode__ - Safe mode and its ini directives +     <del>__safe_mode__ - Safe mode and its ini directives</del> 
-     * __register_globals__ - Register-globals+     <del>__register_globals__ - Register-globals</del>
      * <del>__register_long_arrays__ - Long arrays like $HTTP_XXX_VARS (Patch available below)</del>      * <del>__register_long_arrays__ - Long arrays like $HTTP_XXX_VARS (Patch available below)</del>
      * __magic_quotes_*__ - Magic quotes, including GPC, Sybase & runtime      * __magic_quotes_*__ - Magic quotes, including GPC, Sybase & runtime
-     * __allow_call_time_pass_reference__ - Call time pass by-reference (sort(&$array) and the like)+     <del>__allow_call_time_pass_reference__ - Call time pass by-reference (sort(&$array) and the like)</del>
   * <del>__define_syslog_variables__ and its associated function - Originally agreed to be removed in PHP6 during the PHP 5.3 development</del>   * <del>__define_syslog_variables__ and its associated function - Originally agreed to be removed in PHP6 during the PHP 5.3 development</del>
-  * __asp_tags__ - Was on the old PHP6 todo list for discussion+  * <del>__asp_tags__ - Was on the old PHP6 todo list for discussion</del> **REJECTED**
   * __sql_safe_mode__ - See also the [[rfc:drop_sql.safe_mode]] RFC   * __sql_safe_mode__ - See also the [[rfc:drop_sql.safe_mode]] RFC
   * <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>   * <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>
-  * __detect_unicode/highlight_bg__ - Marked in the manual as a removed features of PHP6, perhaps worth revisiting +  * <del>__detect_unicode/highlight_bg__ - Marked in the manual as a removed features of PHP6, perhaps worth revisiting</del> **HIGHLIGHT REMOVED, UNICODE REJECTED** 
-  * __enable_dl__ - Worth keeping since its only available in CLI/CGI/Embed? +  * <del>__enable_dl__ - Worth keeping since its only available in CLI/CGI/Embed?</del> **REJECTED** 
-  * __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>__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** 
-  * __session_register/session_is_registered/session_unregister functions__ - Only needed for register_globals=On +  * <del>__session_register/session_is_registered/session_unregister functions__ - Only needed for register_globals=On</del> 
-  * __session.bug_compat_42__ and __session.bug_compat.warn__ - As discussed for the old PHP6 +  * <del>__session.bug_compat_42__ and __session.bug_compat.warn__ - As discussed for the old PHP6</del> 
-  * __pdo_odbc.db2_instance_name__ - Never merged to PHP6 during its implementation in PHP5.1+  * <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   * __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 Freetype 1 and GD 1__ - See R197385, R197386, R203752 and family commits
Line 38: Line 37:
   * <del>__register_long_arrays__: http://pastie.org/912599</del> **COMMITTED**   * <del>__register_long_arrays__: http://pastie.org/912599</del> **COMMITTED**
   * <del>__y2k_compliance__: http://pastie.org/915121</del> **COMMITTED**   * <del>__y2k_compliance__: http://pastie.org/915121</del> **COMMITTED**
-  * __register_globals__: http://pastie.org/917780+  * <del>__register_globals__: http://pastie.org/917780</del> **COMMITTED** 
 +  * __magic_quotes_*__: http://pastie.org/923288 
 +  * <del>__allow_call_time_pass_reference__: http://pastie.org/930950</del> **COMMITTED**
rfc/removal-of-deprecated-features.1271350073.txt.gz · Last modified: 2017/09/22 13:28 (external edit)