diff options
author | George Peter Banyard <girgias@php.net> | 2020-10-19 15:19:15 +0100 |
---|---|---|
committer | George Peter Banyard <girgias@php.net> | 2021-01-04 21:09:23 +0100 |
commit | 589bdf30b2bea10172a49bcad26d44b18f192556 (patch) | |
tree | 2f507c6d291d4e7195ba1886abeb130d5515b46d /UPGRADING | |
parent | ab9f497b90bdbbe1f0b0ada1867d1007b7a5958d (diff) | |
download | php-git-589bdf30b2bea10172a49bcad26d44b18f192556.tar.gz |
Implement Explicit octal notation for integers RFC
RFC: https://wiki.php.net/rfc/explicit_octal_notation
Add an extensive test suits for other variants of integer literals
Closes GH-6360
Diffstat (limited to 'UPGRADING')
-rw-r--r-- | UPGRADING | 14 |
1 files changed, 14 insertions, 0 deletions
@@ -65,6 +65,11 @@ PHP 8.1 UPGRADE NOTES 2. New Features ======================================== +- Core: + . It is now possible to specify octal integer by using the explicit "0o"/"0O" + prefix similar to hexadecimal ("0x"/"0X) and binary ("0b"/"0B") integer literals + RFC: https://wiki.php.net/rfc/explicit_octal_notation + - hash: . The following functions have changed signatures: @@ -101,6 +106,15 @@ PHP 8.1 UPGRADE NOTES 5. Changed Functions ======================================== +- Filter: + . The FILTER_FLAG_ALLOW_OCTAL flag of the FILTER_VALIDATE_INT filter now accept + octal string with the leading octal prefix ("0o"/"0O") + RFC: https://wiki.php.net/rfc/explicit_octal_notation + +- GMP: + . All GMP function now accept octal string with the leading octal prefix ("0o"/"0O") + RFC: https://wiki.php.net/rfc/explicit_octal_notation + ======================================== 6. New Functions ======================================== |