From 62d5b0a1f029ffdd0b4cf54b1788cc56338b0876 Mon Sep 17 00:00:00 2001 From: Kenneth Schwartz Date: Wed, 18 Feb 2004 02:04:00 +0000 Subject: [PATCH] setlocale(): passing category param is deprecated git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@151672 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/strings/functions/setlocale.xml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/reference/strings/functions/setlocale.xml b/reference/strings/functions/setlocale.xml index 70af58f923..3a51cdc7c2 100644 --- a/reference/strings/functions/setlocale.xml +++ b/reference/strings/functions/setlocale.xml @@ -1,5 +1,5 @@ - + @@ -59,6 +59,13 @@ + + + As of PHP 4.2.0, passing Category as a string is + deprecated, use the above constants instead. Passing them as a string + (within quotes) will result in a warning message. + + If locale is the empty string "", the locale names will be set from the