#
ecc9588d |
| 12-Oct-2019 |
Christoph M. Becker |
Properly handle non resources passed to socket_select() As of PHP 8.0.0, failing `zend_fetch_resource_ex()` throws a TypeError, so we cannot simply skip non resources in the `$read`, `$w
Properly handle non resources passed to socket_select() As of PHP 8.0.0, failing `zend_fetch_resource_ex()` throws a TypeError, so we cannot simply skip non resources in the `$read`, `$write` and `$except` arrays. Instead we bail out. Since these arrays are already checked in `php_sock_array_to_fd_set()`, we remove the additional check in `php_sock_array_from_fd_set()`.
show more ...
|