mirror of
https://github.com/php/php-src.git
synced 2025-08-20 17:34:35 +02:00
Merge from 5.2:
Improve tolower()-related functions on Windows and VC2005 by caching locale and using tolower_l function.
This commit is contained in:
parent
bc07f14f7a
commit
40b496d63f
5 changed files with 38 additions and 6 deletions
|
@ -1620,6 +1620,7 @@ int php_module_startup(sapi_module_struct *sf, zend_module_entry *additional_mod
|
|||
|
||||
#if HAVE_SETLOCALE
|
||||
setlocale(LC_CTYPE, "");
|
||||
zend_update_current_locale();
|
||||
#endif
|
||||
|
||||
#if HAVE_TZSET
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue