The PHP manual:
https://www.php.net/manual/en/function.setlocale.php
clearly says that "The locale information is maintained per process, not per thread.