From 085c38d45e466691062b4444c71f4dbe4198f884 Mon Sep 17 00:00:00 2001 From: cmp Date: Sat, 13 Nov 2021 04:00:05 -0600 Subject: [PATCH] PHP 8.1: Update integer docs for new octal notation Closes GH-1091. --- language/types/integer.xml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/language/types/integer.xml b/language/types/integer.xml index b173670576..6964ba5edd 100644 --- a/language/types/integer.xml +++ b/language/types/integer.xml @@ -42,6 +42,7 @@ To use octal notation, precede the number with a 0 (zero). + As of PHP 8.1.0, octal notation can also be preceded with 0o or 0O. To use hexadecimal notation precede the number with 0x. To use binary notation precede the number with 0b. @@ -58,6 +59,7 @@