History log of /PHP-8.1/ext/sockets/tests/socket_select_error.phpt (Results 1 – 4 of 4)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 74859783 11-Jun-2021 Nikita Popov

Migrate SKIPIF -> EXTENSIONS (#7138)

This is an automated migration of most SKIPIF extension_loaded checks.


# 79484b4f 05-Oct-2020 Nikita Popov

Update ext/sockets parameter names

Also change $max_length to $length in a number of filesystem APIs,
where our usage was inconsistent.

Closes GH-6276.


# 77172c22 27-Jul-2020 Máté Kocsis

Convert resources to objects in ext/sockets

Closes GH-5900.


Revision tags: php-7.3.13RC1, php-7.2.26RC1, php-7.4.0, php-7.2.25, php-7.3.12, php-7.4.0RC6, php-7.3.12RC1, php-7.2.25RC1, php-7.4.0RC5, php-7.1.33, php-7.2.24, php-7.3.11, php-7.4.0RC4
# 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 ...