PHP 8.4.2 Released!

New Global Constants

cURL

  • CURL_HTTP_VERSION_3
  • CURL_HTTP_VERSION_3ONLY
  • CURL_TCP_KEEPCNT
  • CURLOPT_PREREQFUNCTION
  • CURL_PREREQFUNC_OK
  • CURL_PREREQFUNC_ABORT
  • CURLOPT_SERVER_RESPONSE_TIMEOUT
  • CURLOPT_DEBUGFUNCTION
  • CURLINFO_TEXT
  • CURLINFO_HEADER_IN
  • CURLINFO_DATA_IN
  • CURLINFO_DATA_OUT
  • CURLINFO_SSL_DATA_OUT
  • CURLINFO_SSL_DATA_IN
  • CURLINFO_POSTTRANSFER_TIME_T

Intl

  • PATTERN (IntlDateFormatter)
  • PROPERTY_IDS_UNARY_OPERATOR (IntlChar)
  • PROPERTY_ID_COMPAT_MATH_START
  • PROPERTY_ID_COMPAT_MATH_CONTINUE

LDAP

  • LDAP_OPT_X_TLS_PROTOCOL_MAX
  • LDAP_OPT_X_TLS_PROTOCOL_TLS1_3

libxml

  • LIBXML_RECOVER
  • LIBXML_NO_XXE. This is used together with LIBXML_NOENT when entity substitution should be performed, while disallowing external entity loading. This constant is available as of libxml2 2.13.

MySQLi

  • MYSQLI_TYPE_VECTOR

OpenSSL

  • X509_PURPOSE_OCSP_HELPER
  • X509_PURPOSE_TIMESTAMP_SIGN

PCNTL

PGSQL

  • PGSQL_TUPLES_CHUNK

POSIX

  • POSIX_SC_CHILD_MAX
  • POSIX_SC_CLK_TCK

Sockets

The following socket options are now defined if they are supported:

  • SO_EXCLUSIVEADDRUSE (Windows only)
  • SOCK_CONN_DGRAM (NetBSD only)
  • SOCK_DCCP (NetBSD only)
  • TCP_SYNCNT (Linux only)
  • SO_EXCLBIND (Solaris/Illumos only)
  • SO_NOSIGPIPE (macOS and FreeBSD)
  • SO_LINGER_SEC (macOS only)
  • IP_PORTRANGE (FreeBSD/NetBSD/OpenBSD only)
  • IP_PORTRANGE_DEFAULT (FreeBSD/NetBSD/OpenBSD only)
  • IP_PORTRANGE_HIGH (FreeBSD/NetBSD/OpenBSD only)
  • IP_PORTRANGE_LOW (FreeBSD/NetBSD/OpenBSD only)
  • SOCK_NONBLOCK
  • SOCK_CLOEXEC
  • SO_BINDTOIFINDEX

XML

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top