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/23 04:25] – Add patch for allow_call_time_pass_reference pierrickrfc: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>
      * <del>__register_globals__ - Register-globals</del>      * <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>
   * <del>__asp_tags__ - Was on the old PHP6 todo list for discussion</del> **REJECTED**   * <del>__asp_tags__ - Was on the old PHP6 todo list for discussion</del> **REJECTED**
Line 34: Line 33:
   * Make a list of all "unofficial" deprecated features that may not throw errors, like all the old mysql aliases   * 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   * Determine when/if these will ever be removed from PHP
 +
 ===== Patches ===== ===== Patches =====
   * <del>__register_long_arrays__: http://pastie.org/912599</del> **COMMITTED**   * <del>__register_long_arrays__: http://pastie.org/912599</del> **COMMITTED**
Line 39: Line 39:
   * <del>__register_globals__: http://pastie.org/917780</del> **COMMITTED**   * <del>__register_globals__: http://pastie.org/917780</del> **COMMITTED**
   * __magic_quotes_*__: http://pastie.org/923288   * __magic_quotes_*__: http://pastie.org/923288
-  * __allow_call_time_pass_reference__: http://pastie.org/930950+  * <del>__allow_call_time_pass_reference__: http://pastie.org/930950</del> **COMMITTED**
rfc/removal-of-deprecated-features.1271996728.txt.gz · Last modified: 2017/09/22 13:28 (external edit)