diff options
author | Niklas Keller <me@kelunik.com> | 2017-01-01 15:53:24 +0100 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2017-02-04 23:33:24 +0100 |
commit | 2edc3cf8d2dd75501bf1049cf1b3ca57f11f1234 (patch) | |
tree | 55b4e18b06cfec947b7275112b0a8e57f68390e1 /UPGRADING | |
parent | 0ecffc8af6bcf6e33e26df1ff6478b838b4bb98b (diff) | |
download | php-git-2edc3cf8d2dd75501bf1049cf1b3ca57f11f1234.tar.gz |
Implement Parameter Type Widening RFC
Diffstat (limited to 'UPGRADING')
-rw-r--r-- | UPGRADING | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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. |