diff options
| author | Hannes Magnusson <bjori@php.net> | 2006-08-27 15:06:53 +0000 |
|---|---|---|
| committer | Hannes Magnusson <bjori@php.net> | 2006-08-27 15:06:53 +0000 |
| commit | a180abdbfd1216746b12edfd7aa0f783205e3a4b (patch) | |
| tree | 06c80ce0cc3214d7b9d6734c30ca36d48c3b20b7 /tests | |
| parent | 46ce362ff33c6aea705124cc5e909a0eb657fe97 (diff) | |
| download | php-git-a180abdbfd1216746b12edfd7aa0f783205e3a4b.tar.gz | |
fix tests on freebsd
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 9c640415d5..211544a669 100644 --- a/tests/lang/034.phpt +++ b/tests/lang/034.phpt @@ -2,14 +2,14 @@ Bug #12647 (Locale settings affecting float parsing) --SKIPIF-- <?php # try to activate a german locale -if (setlocale(LC_NUMERIC, "de_DE", "de", "german", "ge") === FALSE) { +if (setlocale(LC_NUMERIC, "de_DE", "de", "german", "ge", "de_DE.ISO8859-1") === FALSE) { print "skip"; } ?> --FILE-- <?php # activate the german locale -setlocale(LC_NUMERIC, "de_DE", "de", "german", "ge"); +setlocale(LC_NUMERIC, "de_DE", "de", "german", "ge", "de_DE.ISO8859-1"); echo (float)"3.14", "\n"; ?> |
