php8.5
Home/ Manual/ appendices / migration86/ New Functions

New Functions

The following functions expose the X-Wing KEM (hybrid ML-KEM768+X25519, libsodium's recommended KEM). They are available when PHP is built against libsodium 1.0.22 or later. sodium_crypto_kem_keypairsodium_crypto_kem_seed_keypairsodium_crypto_kem_secretkeysodium_crypto_kem_publickeysodium_crypto_kem_encsodium_crypto_kem_dec

Core

GMP

Intl

MySQLi

Reflection

  • ReflectionAttribute::inNamespace
  • ReflectionAttribute::getNamespaceName
  • ReflectionAttribute::getShortName
  • ReflectionConstant::inNamespace
  • ReflectionParameter::getDocComment
  • ReflectionProperty::isReadable
  • ReflectionProperty::isWritable

SNMP

Sodium

The following functions expose the X-Wing KEM (hybrid ML-KEM768+X25519, libsodium's recommended KEM). They are available when PHP is built against libsodium 1.0.22 or later.

The following functions expose the ML-KEM768 (FIPS 203) KEM. They are available when PHP is built against libsodium 1.0.22 or later.

URI

Zip

  • ZipArchive::openString
  • ZipArchive::closeString

Source: appendices/migration86/new-functions.xml · from the official PHP manual (php/doc-en)