MFB: Added a note indicating that the tests may fail to due libc

implementation
This commit is contained in:
Ilia Alshanetsky 2007-09-13 15:36:50 +00:00
parent 4e3f872eb1
commit 7877150f49
2 changed files with 2 additions and 0 deletions

View File

@ -6,6 +6,7 @@ $result = (bool)setlocale(LC_CTYPE, "ja_JP.EUC-JP", "ja_JP.eucJP");
if (!$result || preg_match('/EUC[^a-zA-Z]*JP/i', setlocale(LC_CTYPE, 0)) == 0) {
die("skip setlocale() failed\n");
}
echo "warn possibly braindead libc\n";
?>
--INI--
output_handler=

View File

@ -12,6 +12,7 @@ $result = (bool)setlocale(LC_CTYPE, "ru_RU.koi8r", "ru_RU.KOI8-R");
if (!$result || preg_match('/koi8/i', setlocale(LC_CTYPE, 0)) == 0) {
die("skip setlocale() failed\n");
}
echo "warn possibly braindead libc\n";
?>
--FILE--
<?php