diff options
author | Pierre Joye <pajoye@php.net> | 2008-08-21 12:38:47 +0000 |
---|---|---|
committer | Pierre Joye <pajoye@php.net> | 2008-08-21 12:38:47 +0000 |
commit | 050e5579f897c7bffe90ce37bcd25486339bc0c6 (patch) | |
tree | c81b28f85a23a65919434450663340e0b2d457b6 | |
parent | a6b21d3c9870b9d04f4bece042f97df8985dc201 (diff) | |
download | php-git-050e5579f897c7bffe90ce37bcd25486339bc0c6.tar.gz |
- MFH: "fix" crash on windows
-rw-r--r-- | ext/standard/tests/general_functions/var_export-locale.phpt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/standard/tests/general_functions/var_export-locale.phpt b/ext/standard/tests/general_functions/var_export-locale.phpt index 81896550bc..37142cf34c 100644 --- a/ext/standard/tests/general_functions/var_export-locale.phpt +++ b/ext/standard/tests/general_functions/var_export-locale.phpt @@ -4,13 +4,13 @@ Test var_export() function with locale precision=14 --SKIPIF-- <?php -if (!setlocale(LC_ALL, "de","de_DE","de_DE.ISO8859-1","de_DE.ISO_8859-1","de_DE.UTF-8")) { +if (!setlocale(LC_ALL, "german", "de","de_DE","de_DE.ISO8859-1","de_DE.ISO_8859-1","de_DE.UTF-8")) { die("skip locale needed for this test is not supported on this platform"); } ?> --FILE-- <?php -setlocale(LC_ALL, "de","de_DE","de_DE.ISO8859-1","de_DE.ISO_8859-1","de_DE.UTF-8"); +setlocale(LC_ALL, "german", "de","de_DE","de_DE.ISO8859-1","de_DE.ISO_8859-1","de_DE.UTF-8"); /* Prototype: mixed var_export( mixed expression [, bool return]); * Description: Returns the variable representation when the return parameter is used and evaluates to TRUE. Otherwise, this function will return NULL. |