Added string comparison function strcoll(). It uses the current locale to

do the comparisons.
@- Added localeconv() and strcoll() functions for localization. (Sean)
This commit is contained in:
Sean Bright 2001-01-17 01:10:50 +00:00
parent b8b40f697e
commit a588d65591
3 changed files with 27 additions and 1 deletions

View file

@ -162,6 +162,11 @@ function_entry basic_functions[] = {
PHP_FE(strstr, NULL)
PHP_FE(stristr, NULL)
PHP_FE(strrchr, NULL)
#ifdef HAVE_STRCOLL
PHP_FE(strcoll, NULL)
#else
PHP_FALIAS(strcoll, warn_not_available, NULL)
#endif
PHP_FE(substr, NULL)
PHP_FE(substr_replace, NULL)
PHP_FE(quotemeta, NULL)