diff options
Diffstat (limited to 'tests/lang/034.phpt')
-rw-r--r-- | tests/lang/034.phpt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/lang/034.phpt b/tests/lang/034.phpt index a59d0357cf..dbdcce1ccf 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; } } @@ -26,4 +26,4 @@ echo (float)"3.14", "\n"; ?> --EXPECT-- -3.14 +3,14 |