rfc:deprecations_php_8_2

Differences

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

Link to this comparison view

Next revision
Previous revision
rfc:deprecations_php_8_2 [2021/07/20 11:36] – created kocsismaterfc:deprecations_php_8_2 [2021/07/20 12:21] (current) kocsismate
Line 10: Line 10:
 The following list provides a short overview of the functionality targeted for deprecation, while more detailed explanation is provided in the Proposal section: The following list provides a short overview of the functionality targeted for deprecation, while more detailed explanation is provided in the Proposal section:
  
-  * Call scope dependent return values of internal methods+  * Call scope dependent behavior of internal methods
  
 ===== Proposal ===== ===== Proposal =====
Line 16: Line 16:
 Each feature proposed for deprecation is voted separately and requires a 2/3 majority. All votes refer to deprecation in PHP 8.2 and removal in PHP 9.0. Each feature proposed for deprecation is voted separately and requires a 2/3 majority. All votes refer to deprecation in PHP 8.2 and removal in PHP 9.0.
  
-==== Call scope dependent return values of internal methods ====+==== Call scope dependent behavior of internal methods ====
  
 A few internal methods return different values based on the scope they were called from: A few internal methods return different values based on the scope they were called from:
Line 28: Line 28:
   * DOMDocument::loadXML()   * DOMDocument::loadXML()
  
-All these methods should be staticso their invocation from the object scope is proposed to be deprecated.+These methods should be allowed to be called either staticallyor from the object scope, and their behavior shouldn't depend on the scope.
rfc/deprecations_php_8_2.1626780982.txt.gz · Last modified: 2021/07/20 11:36 by kocsismate