pthreads
pthreads copied to clipboard
Make socket setOpt accept arrays as values
Environment
- PHP: 7.1.4RC1 ( ZTS DEBUG )
- pthreads: 3.1.7dev
- OS: Debian Jessie 8.7, Linux 4.10.0-xanmod1
Summary
The setOption method of the new thread-safe Socket implementation accepts only integers for value, that is a problem since some options are not integers, like an array that can be converted to the timeval structure for timeouts.
A way to provide ssl contexts to sockets would also be nice :)
Have you news abount this enhancement?