From 98f5e51a7ee42cac9967a52a9753f94f23728cfd Mon Sep 17 00:00:00 2001 From: Adam Harvey Date: Fri, 3 Feb 2012 04:17:11 +0000 Subject: [PATCH] Fix bug #60933 on PHP_5_4 (approved by Stas). --- ext/standard/tests/array/locale_sort.phpt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ext/standard/tests/array/locale_sort.phpt b/ext/standard/tests/array/locale_sort.phpt index c83b5575f4..1db96042e8 100644 --- a/ext/standard/tests/array/locale_sort.phpt +++ b/ext/standard/tests/array/locale_sort.phpt @@ -5,7 +5,7 @@ Sort with SORT_LOCALE_STRING if (substr(PHP_OS, 0, 3) == 'WIN') { die("skip Unix locale name only, not available on windows (and crashes with VC6)\n"); } -if (false == setlocale(LC_CTYPE, "fr_FR", "fr_FR.ISO8859-1")) { +if (false == setlocale(LC_CTYPE, "fr_FR.ISO8859-1", "fr_FR")) { die("skip setlocale() failed\n"); } ?> @@ -14,7 +14,7 @@ unicode.script_encoding=ISO8859-1 unicode.output_encoding=ISO8859-1 --FILE-- "Alberta", "BC" => "Colombie-Britannique", "MB" => "Manitoba", -- 2.40.0