mirror of
https://github.com/php/php-src.git
synced 2026-04-19 05:51:02 +02:00
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()`.
372 B
372 B