Description
When investigating #9261 that networking and stream code uses strerror which might potentially cause issue on ZTS. It should be replaced with strerror_r if available.
There is already check for the availibility of strerror_r introduced in #11882 so it just needs to be implemented to the stream and networking code (primarily to php_socket_strerror and php_socket_error_str).
PHP Version
Operating System
No response