mirror of
https://github.com/php/php-src.git
synced 2025-08-18 06:58: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
|
@ -57,7 +57,6 @@ PHP_MINFO_FUNCTION(unicode);
|
|||
|
||||
PHP_FUNCTION(i18n_loc_get_default);
|
||||
PHP_FUNCTION(i18n_loc_set_default);
|
||||
PHP_FUNCTION(i18n_strtotitle);
|
||||
|
||||
extern php_stream_filter_factory php_unicode_filter_factory;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue