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

index 81896550bceb57a31c22aff9af265c9b7c2b3742..37142cf34c75a3b3e12321f58e48837fdb28f913 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.