From a588d655910367aeee48e4301a9db9faad9e5f90 Mon Sep 17 00:00:00 2001 From: Sean Bright Date: Wed, 17 Jan 2001 01:10:50 +0000 Subject: Added string comparison function strcoll(). It uses the current locale to do the comparisons. @- Added localeconv() and strcoll() functions for localization. (Sean) --- ext/standard/php_string.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'ext/standard/php_string.h') diff --git a/ext/standard/php_string.h b/ext/standard/php_string.h index 7a2c5ecfb0..c59f716e57 100644 --- a/ext/standard/php_string.h +++ b/ext/standard/php_string.h @@ -79,9 +79,12 @@ PHP_FUNCTION(strnatcasecmp); PHP_FUNCTION(substr_count); PHP_FUNCTION(str_pad); PHP_FUNCTION(sscanf); +#ifdef HAVE_STRCOLL +PHP_FUNCTION(strcoll); +#endif -#if defined(HAVE_LOCALECONV) && defined(ZTS) +#ifdef ZTS PHP_MINIT_FUNCTION(localeconv); PHP_MSHUTDOWN_FUNCTION(localeconv); #endif -- cgit v1.2.1