diff options
-rw-r--r-- | tests/lang/034.phpt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/lang/034.phpt b/tests/lang/034.phpt index a59d0357cf..62a1cafa4b 100644 --- a/tests/lang/034.phpt +++ b/tests/lang/034.phpt @@ -4,7 +4,7 @@ Locale settings affecting float parsing <?php # try to activate a german locale $status = false; foreach(array("de_DE", "de", "german", "ge") as $lang) { - if($lang == setlocale(LC_ALL, $lang)) { + if($lang == setlocale(LC_NUMERIC, $lang) { $status = true; continue; } @@ -17,7 +17,7 @@ if(!$status) print "skip"; <?php # try to activate a german locale foreach(array("de_DE", "de", "german", "ge") as $lang) { - if($lang == setlocale(LC_ALL, $lang)) { + if($lang == setlocale(LC_NUMERIC, $lang)) { continue; } } |