summaryrefslogtreecommitdiff
path: root/UPGRADING
diff options
context:
space:
mode:
authorTheodore Brown <theodorejb@outlook.com>2019-05-02 12:10:19 -0500
committerNikita Popov <nikita.ppv@gmail.com>2019-06-14 11:37:04 +0200
commitf74109d9a4b1e4fbaeba4f68c8fc89950e19d265 (patch)
tree479e45443ebaac440802f843baaac77a4e0aa6a3 /UPGRADING
parentec77cca5f30c77944c5038bb17de7353fb200757 (diff)
downloadphp-git-f74109d9a4b1e4fbaeba4f68c8fc89950e19d265.tar.gz
Implement numeric literal separators
RFC: https://wiki.php.net/rfc/numeric_literal_separator
Diffstat (limited to 'UPGRADING')
-rw-r--r--UPGRADING9
1 files changed, 9 insertions, 0 deletions
diff --git a/UPGRADING b/UPGRADING
index 66be319cb9..1eaf8fc3d4 100644
--- a/UPGRADING
+++ b/UPGRADING
@@ -186,6 +186,15 @@ PHP 7.4 UPGRADE NOTES
RFC: https://wiki.php.net/rfc/spread_operator_for_array
+ . Added support for underscore separators in numeric literals. Some examples:
+
+ 6.674_083e-11; // float
+ 299_792_458; // decimal
+ 0xCAFE_F00D; // hexadecimal
+ 0b0101_1111; // binary
+
+ RFC: https://wiki.php.net/rfc/numeric_literal_separator
+
. Support for WeakReferences has been added.
RFC: https://wiki.php.net/rfc/weakrefs