msopacua Thu Oct 10 12:39:53 2002 EDT
Modified files:
/php4/tests/lang 034.phpt
Log:
Fix platform dependencies, setlocale output, bug #19836
Testing numerics, so set numeric. If the platform doesn't support this
category, passing this test is more likely to be coincedence than expected
behavior.
Index: php4/tests/lang/034.phpt
diff -u php4/tests/lang/034.phpt:1.2 php4/tests/lang/034.phpt:1.3
--- php4/tests/lang/034.phpt:1.2 Thu Aug 1 07:49:41 2002
+++ php4/tests/lang/034.phpt Thu Oct 10 12:39:52 2002
@@ -4,7 +4,7 @@
<?php # try to activate a german locale
$status = false;
foreach(array("de_DE", "de", "german", "ge") as $lang) {
- if($lang == setlocale(LC_ALL, $lang)) {
+ if($lang == setlocale(LC_NUMERIC, $lang) {
$status = true;
continue;
}
@@ -17,7 +17,7 @@
<?php
# try to activate a german locale
foreach(array("de_DE", "de", "german", "ge") as $lang) {
- if($lang == setlocale(LC_ALL, $lang)) {
+ if($lang == setlocale(LC_NUMERIC, $lang)) {
continue;
}
}
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php