note 13611 added to function.setlocale.php
| From: | laurent dot rouge at citynet dot fr | Date: | Sun, 24 Jun 2001 15:32:51 +0000 |
| Subject: | note 13611 added to function.setlocale.php | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-14602@lists.php.net to get a copy of this message | ||
if you have the warning message :
Warning: Passing locale category name as string is deprecated. Use the LC_* -constants instead.
Delete simple or double quotes on 'category' variable.
For example use :
setlocale(LC_TIME,"fr_FR");
instead of :
setlocale("LC_TIME","fr_FR");
http://www.php.net/manual/en/function.setlocale.php