setlocale() and ZTS
[email protected] ("Christoph M. Becker") Fri, 26 Apr 2019 14:04:40 +0200
| Newsgroups | php.internals.win |
|---|---|
| Message-ID | <[email protected]> |
Hi, the documentation of setlocale()[1] warns: | The locale information is maintained per process, not per thread. However, I noticed commit 9319359[2] (which is shipped as of PHP 5.4.0) which claims to "make setlocale thread only". So I wonder whether the documentation is out-dated, or whether there are still threading issues regarding setlocale(). [1] <https://www.php.net/manual/en/function.setlocale.php> [2] <http://git.php.net/?p=3Dphp-src.git;a=3Dcommit;h=3D9319359dc9f7808fad0f59= 970587d0bee5d22643> =2D- Christoph M. Becker