New Global Constants

Core

  • PHP_OUTPUT_HANDLER_PROCESSED
  • PHP_SBINDIR

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

  • SIGCKPT (DragonFlyBSD only)
  • SIGCKPTEXIT (DragonFlyBSD only)
  • WEXITED
  • WSTOPPED
  • WNOWAIT
  • P_ALL
  • P_PID
  • P_PGID
  • P_PIDFD (Linux only)
  • P_UID (NetBSD/FreeBSD only)
  • P_GID (NetBSD/FreeBSD only)
  • P_SID (NetBSD/FreeBSD only)
  • P_JAILID (FreeBSD only)

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

Sodium

  • SODIUM_CRYPTO_AEAD_AEGIS128L_KEYBYTES
  • SODIUM_CRYPTO_AEAD_AEGIS128L_NSECBYTES
  • SODIUM_CRYPTO_AEAD_AEGIS128L_NPUBBYTES
  • SODIUM_CRYPTO_AEAD_AEGIS128L_ABYTES
  • SODIUM_CRYPTO_AEAD_AEGIS256_KEYBYTES
  • SODIUM_CRYPTO_AEAD_AEGIS256_NSECBYTES
  • SODIUM_CRYPTO_AEAD_AEGIS256_NPUBBYTES
  • SODIUM_CRYPTO_AEAD_AEGIS256_ABYTES

Tokenizer

  • T_PUBLIC_SET
  • T_PROTECTED_SET
  • T_PRIVATE_SET

XML

  • XML_OPTION_PARSE_HUGE which allows parsing large inputs with xml_parse and xml_parse_into_struct.