if($loc_zh = setlocale(LC_ALL, 'zh_ZH.big5', 'zh_ZH', 'chn', 'chinese')) {
echo "Preferred locale for Chinese on this system is \"$loc_zh\".
\n";
echo strftime('%A %d %B %Y', mktime()) . "
\n";
} else {
$lc_en = setlocale(LC_TIME, 'en_US', 'english');
echo "Reverting locale to $lc_en.
\n";
}
?>