setlocale() changes?
| From: | Mike At Spy | Date: | Wed, 04 Jun 2003 12:55:42 +0000 |
| Subject: | setlocale() changes? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-150145@lists.php.net to get a copy of this message | ||
I've been getting a warning on one of my scripts since I upgraded from 4.1.2
to the most recent version of PHP. The warning is:
Warning: setlocale(): Passing locale category name as string is deprecated.
Use the LC_* -constants instead
The script at the line that is failing sez:
setlocale ("LC_TIME", "$locale");
This script isn't mine off hand - what do I look for? I'm not sure I
understand the error message. :\
Thanks!
-Mike