pajoye Thu Aug 21 12:38:47 2008 UTC
Modified files: (Branch: PHP_5_3)
/php-src/ext/standard/tests/general_functions
var_export-locale.phpt
Log:
- MFH: "fix" crash on windows
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/general_functions/var_export-locale.phpt?r1=1.1.2.2.2.1&r2=1.1.2.2.2.2&diff_format=u
Index: php-src/ext/standard/tests/general_functions/var_export-locale.phpt
diff -u
php-src/ext/standard/tests/general_functions/var_export-locale.phpt:1.1.2.2.2.1
php-src/ext/standard/tests/general_functions/var_export-locale.phpt:1.1.2.2.2.2
---
php-src/ext/standard/tests/general_functions/var_export-locale.phpt:1.1.2.2.2.1
Sun Dec 9 16:54:52 2007
+++ php-src/ext/standard/tests/general_functions/var_export-locale.phpt Thu Aug
21 12:38:47 2008
@@ -4,13 +4,13 @@
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.
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php