diff options
author | Melvyn Sopacua <msopacua@php.net> | 2002-10-10 16:39:52 +0000 |
---|---|---|
committer | Melvyn Sopacua <msopacua@php.net> | 2002-10-10 16:39:52 +0000 |
commit | 0ff44ce57b24bbc90f03c5783bffe22da5d623d8 (patch) | |
tree | 9395fd471e86afdcffe4f2d162162bdd7b6f9ac4 /tests | |
parent | bc14a6f1338891d7f8f169895d2913293dc61188 (diff) | |
download | php-git-0ff44ce57b24bbc90f03c5783bffe22da5d623d8.tar.gz |
Fix platform dependencies, setlocale output, bug #19836
Testing numerics, so set numeric. If the platform doesn't support this
category, passing this test is more likely to be coincedence than expected
behavior.
Diffstat (limited to 'tests')
-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; } } |