[php-src] master: Merge branch 'PHP-8.3'

From: Date: Wed, 01 May 2024 18:44:14 +0000
Subject: [php-src] master: Merge branch 'PHP-8.3'
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-128302@lists.php.net to get a copy of this message
Author: Peter Kokot (petk) Date: 2024-05-01T20:43:53+02:00 Commit: https://github.com/php/php-src/commit/8c8287abf657c18830b1fb7eff94c3c9c604e04d Raw diff: https://github.com/php/php-src/commit/8c8287abf657c18830b1fb7eff94c3c9c604e04d.diff Merge branch 'PHP-8.3' * PHP-8.3: Fix tests for glibc 2.39 (#14097) Changed paths: M ext/standard/tests/strings/setlocale_variation3.phpt M ext/standard/tests/strings/setlocale_variation4.phpt M ext/standard/tests/strings/setlocale_variation5.phpt Diff: diff --git a/ext/standard/tests/strings/setlocale_variation3.phpt b/ext/standard/tests/strings/setlocale_variation3.phpt index 551eece086fc0..30f281a502006 100644 --- a/ext/standard/tests/strings/setlocale_variation3.phpt +++ b/ext/standard/tests/strings/setlocale_variation3.phpt @@ -47,7 +47,7 @@ if($locale_info_before == $locale_info_after){ echo "\nDone\n"; ?> ---EXPECT-- +--EXPECTF-- *** Testing setlocale() : usage variations - setting system locale = 0 *** Locale info, before setting the locale array(18) { @@ -84,17 +84,13 @@ array(18) { ["n_sign_posn"]=> int(1) ["grouping"]=> - array(2) { - [0]=> - int(3) - [1]=> + array(%d) {%A + [%d]=> int(3) } ["mon_grouping"]=> - array(2) { - [0]=> - int(3) - [1]=> + array(%d) {%A + [%d]=> int(3) } } @@ -134,17 +130,13 @@ array(18) { ["n_sign_posn"]=> int(1) ["grouping"]=> - array(2) { - [0]=> - int(3) - [1]=> + array(%d) {%A + [%d]=> int(3) } ["mon_grouping"]=> - array(2) { - [0]=> - int(3) - [1]=> + array(%d) {%A + [%d]=> int(3) } } diff --git a/ext/standard/tests/strings/setlocale_variation4.phpt b/ext/standard/tests/strings/setlocale_variation4.phpt index 91171543bb694..ca469759dbd15 100644 --- a/ext/standard/tests/strings/setlocale_variation4.phpt +++ b/ext/standard/tests/strings/setlocale_variation4.phpt @@ -45,7 +45,7 @@ if($locale_info_before != $locale_info_after){ echo "\nDone\n"; ?> ---EXPECT-- +--EXPECTF-- *** Testing setlocale() : usage variations - Setting system locale = null *** Locale info, before setting the locale array(18) { @@ -82,17 +82,13 @@ array(18) { ["n_sign_posn"]=> int(1) ["grouping"]=> - array(2) { - [0]=> - int(3) - [1]=> + array(%d) {%A + [%d]=> int(3) } ["mon_grouping"]=> - array(2) { - [0]=> - int(3) - [1]=> + array(%d) {%A + [%d]=> int(3) } } @@ -132,17 +128,13 @@ array(18) { ["n_sign_posn"]=> int(1) ["grouping"]=> - array(2) { - [0]=> - int(3) - [1]=> + array(%d) {%A + [%d]=> int(3) } ["mon_grouping"]=> - array(2) { - [0]=> - int(3) - [1]=> + array(%d) {%A + [%d]=> int(3) } } diff --git a/ext/standard/tests/strings/setlocale_variation5.phpt b/ext/standard/tests/strings/setlocale_variation5.phpt index 15f912d3841ec..50c8a03bb8785 100644 --- a/ext/standard/tests/strings/setlocale_variation5.phpt +++ b/ext/standard/tests/strings/setlocale_variation5.phpt @@ -49,7 +49,7 @@ if($locale_info_before != $locale_info_after){ echo "\nDone\n"; ?> ---EXPECT-- +--EXPECTF-- *** Testing setlocale() : usage variations - setting system locale = "" *** Locale info, before setting the locale array(18) { @@ -86,17 +86,13 @@ array(18) { ["n_sign_posn"]=> int(1) ["grouping"]=> - array(2) { - [0]=> - int(3) - [1]=> + array(%d) {%A + [%d]=> int(3) } ["mon_grouping"]=> - array(2) { - [0]=> - int(3) - [1]=> + array(%d) {%A + [%d]=> int(3) } } @@ -136,17 +132,13 @@ array(18) { ["n_sign_posn"]=> int(1) ["grouping"]=> - array(2) { - [0]=> - int(3) - [1]=> + array(%d) {%A + [%d]=> int(3) } ["mon_grouping"]=> - array(2) { - [0]=> - int(3) - [1]=> + array(%d) {%A + [%d]=> int(3) } }

« previous php.cvs (#128302) next »