|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2001-08-22 00:27 UTC] sniper@php.net
[2001-10-02 18:43 UTC] sniper@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Nov 05 00:00:02 2025 UTC |
Hi, The locale is not supported in php-4.0.6. Example the file t.php: <?php setlocale ("LC_TIME", "C"); print (strftime ("%A in Finnish is ")); setlocale ("LC_TIME", "fi_FI"); print (strftime ("%A, in French ")); setlocale ("LC_TIME", "fr_CA"); print (strftime ("%A and in German ")); setlocale ("LC_TIME", "de_DE"); print (strftime ("%A.\n")); ?> used as : $ /usr/local/stow/php-4.0.6/bin/php t.php displays : X-Powered-By: PHP/4.0.6 Content-type: text/html Tuesday in Finnish is Tuesday, in French Tuesday and in German Tuesday. Thanks.