[php-src] Issue #9574: SOCKET_EPROTO constant missing since PHP 8.2 dev
| From: | llaville | Date: | Mon, 19 Sep 2022 09:06:10 +0000 |
| Subject: | [php-src] Issue #9574: SOCKET_EPROTO constant missing since PHP 8.2 dev | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-242437@lists.php.net to get a copy of this message | ||
Issue: https://github.com/php/php-src/issues/9574
Author: llaville
### Description
The following code:
```
php --re sockets
```
Resulted in this output:
```
Extension [ <persistent> extension #76 sockets version 8.2.0RC1 ] {
- Constants [207] {
...
Constant [ int SOCKET_EPROTOTYPE ] { 91 }
Constant [ int SOCKET_EPROTONOSUPPORT ] { 93 }
...
```
But
SOCKET_EPROTO was missing. Is it expected or just missing ?
See also PHP 8.2 changes with commit https://github.com/php/php-src/commit/98e5c4e3a3b241998dfb639a33245ffed16f6c57
### PHP Version
PHP 8.2.0RC1
### Operating System
Ubuntu 18.04