summaryrefslogtreecommitdiff
path: root/UPGRADING
diff options
context:
space:
mode:
authorNiklas Keller <me@kelunik.com>2017-01-01 15:53:24 +0100
committerNikita Popov <nikita.ppv@gmail.com>2017-02-04 23:33:24 +0100
commit2edc3cf8d2dd75501bf1049cf1b3ca57f11f1234 (patch)
tree55b4e18b06cfec947b7275112b0a8e57f68390e1 /UPGRADING
parent0ecffc8af6bcf6e33e26df1ff6478b838b4bb98b (diff)
downloadphp-git-2edc3cf8d2dd75501bf1049cf1b3ca57f11f1234.tar.gz
Implement Parameter Type Widening RFC
Diffstat (limited to 'UPGRADING')
-rw-r--r--UPGRADING6
1 files changed, 6 insertions, 0 deletions
diff --git a/UPGRADING b/UPGRADING
index 387696268b..e072d407ea 100644
--- a/UPGRADING
+++ b/UPGRADING
@@ -86,6 +86,12 @@ PHP 7.2 UPGRADE NOTES
2. New Features
========================================
+- Core:
+ . It is now possible to remove argument type annotations when overriding an
+ inherited method. This complies with contravariance of method argument types
+ under the Liskov Substitution Principle.
+ (https://wiki.php.net/rfc/parameter-no-type-variance)
+
- PCRE:
. Added `J` modifier for setting PCRE_DUPNAMES.