PHP 8.4.1 Released!

New Global Constants

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.

OpenSSL

  • X509_PURPOSE_OCSP_HELPER
  • X509_PURPOSE_TIMESTAMP_SIGN

PCNTL

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