PHP 8.4

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:

XML

PHP 8.3

New Global Constants

cURL

Intl

PCNTL

PDO_ODBC

Sockets

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

PHP 8.2

New Global Constants

cURL

Sockets

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

PHP 8.1

PHP 7.4

PHP 7.3

New Global Constants

Client URL Library

JavaScript Object Notation

PHP 7.2

New global constants

Sodium

PHP 7.1

PHP 7.0

PHP 5.6