Skip to content
  • robocoder's avatar
    8bb9e282
    quick fixes #1437 - setlocale(LC_CTYPE, '') so strtolower(), strtoupper(),... · 8bb9e282
    robocoder a rédigé
    quick fixes #1437 - setlocale(LC_CTYPE, '') so strtolower(), strtoupper(), ucfirst(), and ucwords() aren't affected by locale
    
    In the future, we might consider implementing a thread-safe alternative to using setlocale() given this warning:
    
    > The locale information is maintained per process, not per thread. If you are running PHP on a multithreaded server API like IIS or Apache on Windows, you may experience sudden changes in locale settings while a script is running, though the script itself never called setlocale(). This happens due to other scripts running in different threads of the same process at the same time, changing the process-wide locale using setlocale().
    
    Reference:  http://php.net/setlocale
    
    
    git-svn-id: http://dev.piwik.org/svn/trunk@2327 59fd770c-687e-43c8-a1e3-f5a4ff64c105
    8bb9e282
    quick fixes #1437 - setlocale(LC_CTYPE, '') so strtolower(), strtoupper(),...
    robocoder a rédigé
    quick fixes #1437 - setlocale(LC_CTYPE, '') so strtolower(), strtoupper(), ucfirst(), and ucwords() aren't affected by locale
    
    In the future, we might consider implementing a thread-safe alternative to using setlocale() given this warning:
    
    > The locale information is maintained per process, not per thread. If you are running PHP on a multithreaded server API like IIS or Apache on Windows, you may experience sudden changes in locale settings while a script is running, though the script itself never called setlocale(). This happens due to other scripts running in different threads of the same process at the same time, changing the process-wide locale using setlocale().
    
    Reference:  http://php.net/setlocale
    
    
    git-svn-id: http://dev.piwik.org/svn/trunk@2327 59fd770c-687e-43c8-a1e3-f5a4ff64c105
Chargement en cours