Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SOCKET_EPROTO constant missing since PHP 8.2 dev #9574

Closed
llaville opened this issue Sep 19, 2022 · 1 comment
Closed

SOCKET_EPROTO constant missing since PHP 8.2 dev #9574

llaville opened this issue Sep 19, 2022 · 1 comment

Comments

@llaville
Copy link

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 98e5c4e

PHP Version

PHP 8.2.0RC1

Operating System

Ubuntu 18.04

@cmb69
Copy link
Contributor

cmb69 commented Sep 19, 2022

Thanks for reporting! This constant is indeed missing.

@cmb69 cmb69 closed this as completed in 4767b09 Sep 19, 2022
cmb69 added a commit that referenced this issue Sep 19, 2022
* PHP-8.2:
  Fix GH-9574: SOCKET_EPROTO constant missing since PHP 8.2 dev
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants