]> granicus.if.org Git - php/commitdiff
- "fix" crash on windows
authorPierre Joye <pajoye@php.net>
Thu, 21 Aug 2008 12:38:34 +0000 (12:38 +0000)
committerPierre Joye <pajoye@php.net>
Thu, 21 Aug 2008 12:38:34 +0000 (12:38 +0000)
ext/standard/tests/general_functions/var_export-locale.phpt

index 4f450d73bb7af9a37e5def8ca9a5459ae0e18cef..3845fcf5f4d79b1b876c93f7da1c8059e16e6b8e 100644 (file)
@@ -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.