mirror of
https://github.com/php/php-src.git
synced 2025-08-18 15:08:55 +02:00
- Moved strtotitle to ext/standard and implemented the fallback case to
non-unicode with ucwords. There is also an implementation for unicode ucwords but that returns different results then strtotitle as it uppercases the first character of every word, and doesn't *titlecase* a word. The test case shows that.
This commit is contained in:
parent
49b16f7254
commit
3056defb26
6 changed files with 94 additions and 73 deletions
|
@ -119,7 +119,6 @@ zend_function_entry unicode_functions[] = {
|
|||
PHP_FE(unicode_decode, NULL)
|
||||
PHP_FE(unicode_semantics, NULL)
|
||||
PHP_FE(unicode_encode, NULL)
|
||||
PHP_FE(i18n_strtotitle, NULL)
|
||||
{ NULL, NULL, NULL }
|
||||
};
|
||||
/* }}} */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue