From 55e00660f3e2582540c536777e5f79a9218231af Mon Sep 17 00:00:00 2001 From: Roman Pronskiy Date: Thu, 21 Nov 2024 11:24:42 +0100 Subject: [PATCH 1/3] Add BCMath block to PHP 8.4 release page --- releases/8.4/release.inc | 45 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) diff --git a/releases/8.4/release.inc b/releases/8.4/release.inc index cf41bc9f21..388f5e2cd8 100644 --- a/releases/8.4/release.inc +++ b/releases/8.4/release.inc @@ -334,6 +334,51 @@ PHP +
+

+ + RFC +

+
+
+
PHP < 8.4
+
+ 0); // false +PHP + + ); ?> +
+
+
+
+
PHP 8.4
+
+ $num2); // false +PHP + ); ?> +
+
+
+
+ +
+

From b274432e2c0024c5412b764514feeb25fac9adc3 Mon Sep 17 00:00:00 2001 From: Roman Pronskiy Date: Thu, 21 Nov 2024 11:35:10 +0100 Subject: [PATCH 2/3] Add BCMath block texts --- releases/8.4/languages/en.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/releases/8.4/languages/en.php b/releases/8.4/languages/en.php index 0c0166aa3e..2c969fb949 100644 --- a/releases/8.4/languages/en.php +++ b/releases/8.4/languages/en.php @@ -15,6 +15,8 @@ 'deprecated_attribute_description' => 'The new #[\Deprecated] attribute makes PHP’s existing deprecation mechanism available to user-defined functions, methods, and class constants.', 'dom_additions_html5_title' => 'New ext-dom features and HTML5 support', 'dom_additions_html5_description' => '

New DOM API that includes standards-compliant support for parsing HTML5 documents, fixes several long-standing compliance bugs in the behavior of the DOM functionality, and adds several functions to make working with documents more convenient.

The new DOM API is available within the Dom namespace. Documents using the new DOM API can be created using the Dom\HTMLDocument and Dom\XMLDocument classes.

', + 'bcmath_title' => 'Object API for BCMath', + 'bcmath_description' => '

BCMath allows you to work with arbitrary precision float numbers in PHP. With this release, you can benefit from object-oriented style and operator overloading to use BCMath numbers.

It means, you can now use standard operators (+, -, /) with BcMath\Number objects, which also support all bc* functions.

These objects are immutable and implement the Stringable interface, so they can be used in string contexts like echo $num.

', 'new_array_find_title' => 'New array_*() functions', 'new_array_find_description' => 'New functions array_find(), array_find_key(), array_any(), and array_all() are available.', 'pdo_driver_specific_parsers_title' => 'PDO Driver specific SQL parsers', From 721d1ab0d945589d7ad7fa26e368b53f030e2db5 Mon Sep 17 00:00:00 2001 From: Roman Pronskiy Date: Thu, 21 Nov 2024 12:41:21 +0200 Subject: [PATCH 3/3] Update releases/8.4/languages/en.php Co-authored-by: Saki Takamachi <34942839+SakiTakamachi@users.noreply.github.com> --- releases/8.4/languages/en.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/releases/8.4/languages/en.php b/releases/8.4/languages/en.php index 2c969fb949..5052826c14 100644 --- a/releases/8.4/languages/en.php +++ b/releases/8.4/languages/en.php @@ -16,7 +16,7 @@ 'dom_additions_html5_title' => 'New ext-dom features and HTML5 support', 'dom_additions_html5_description' => '

New DOM API that includes standards-compliant support for parsing HTML5 documents, fixes several long-standing compliance bugs in the behavior of the DOM functionality, and adds several functions to make working with documents more convenient.

The new DOM API is available within the Dom namespace. Documents using the new DOM API can be created using the Dom\HTMLDocument and Dom\XMLDocument classes.

', 'bcmath_title' => 'Object API for BCMath', - 'bcmath_description' => '

BCMath allows you to work with arbitrary precision float numbers in PHP. With this release, you can benefit from object-oriented style and operator overloading to use BCMath numbers.

It means, you can now use standard operators (+, -, /) with BcMath\Number objects, which also support all bc* functions.

These objects are immutable and implement the Stringable interface, so they can be used in string contexts like echo $num.

', + 'bcmath_description' => '

BCMath allows you to work with arbitrary precision float numbers in PHP. With this release, you can benefit from object-oriented style and operator overloading to use BCMath numbers.

It means, you can now use standard operators with BcMath\Number objects, which also support all bc* functions.

These objects are immutable and implement the Stringable interface, so they can be used in string contexts like echo $num.

', 'new_array_find_title' => 'New array_*() functions', 'new_array_find_description' => 'New functions array_find(), array_find_key(), array_any(), and array_all() are available.', 'pdo_driver_specific_parsers_title' => 'PDO Driver specific SQL parsers',