[php-src] Issue #8113: Php crashing with a TypeError even when declare(strict_types=1) is not set, or even set to strict_types=0
| From: | damianwadley | Date: | Thu, 17 Feb 2022 21:25:08 +0000 |
| Subject: | [php-src] Issue #8113: Php crashing with a TypeError even when declare(strict_types=1) is not set, or even set to strict_types=0 | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-239858@lists.php.net to get a copy of this message | ||
Issue: https://github.com/php/php-src/issues/8113
Comment Author: damianwadley
This isn't related to strict_types.
The error is, as you've noticed, that you're passing a closed socket to socket_select.
That isn't going to work. I don't know what code you have to create
$clients
but you should make sure it doesn't include a socket that is already known to be closed.