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
clamp()returns the given value if in range, else returns the nearest bound.stream_last_errors()stream_clear_errors()stream_socket_get_crypto_status()
GMP
Intl
grapheme_strrev()IntlDatePatternGenerator::getSkeletonIntlDatePatternGenerator::getBaseSkeletonLocale::getDisplayKeywordlocale_get_display_keyword()Locale::getDisplayKeywordValuelocale_get_display_keyword_value()SpoofChecker::areBidiConfusableSpoofChecker::getBidiSkeletonSpoofChecker::getSkeleton
MySQLi
mysqli::quote_stringmysqli_quote_string()
Reflection
ReflectionAttribute::inNamespaceReflectionAttribute::getNamespaceNameReflectionAttribute::getShortNameReflectionConstant::inNamespaceReflectionParameter::getDocCommentReflectionProperty::isReadableReflectionProperty::isWritable
SNMP
snmp_init_mib()snmp_set_mib_option()snmp_set_output_option()snmp_set_string_output_format()SNMP::setOidOutputFormatSNMP::setStringOutputFormat
Sodium
sodium_crypto_ipcrypt_keygen()sodium_crypto_ipcrypt_encrypt()sodium_crypto_ipcrypt_decrypt()sodium_crypto_ipcrypt_nd_keygen()sodium_crypto_ipcrypt_nd_encrypt()sodium_crypto_ipcrypt_nd_decrypt()sodium_crypto_ipcrypt_ndx_keygen()sodium_crypto_ipcrypt_ndx_encrypt()sodium_crypto_ipcrypt_ndx_decrypt()sodium_crypto_ipcrypt_pfx_keygen()sodium_crypto_ipcrypt_pfx_encrypt()sodium_crypto_ipcrypt_pfx_decrypt()sodium_bin2ip()sodium_ip2bin()
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_keypair()sodium_crypto_kem_seed_keypair()sodium_crypto_kem_secretkey()sodium_crypto_kem_publickey()sodium_crypto_kem_enc()sodium_crypto_kem_dec()
The following functions expose the ML-KEM768 (FIPS 203) KEM. They are available when PHP is built against libsodium 1.0.22 or later.
sodium_crypto_kem_mlkem768_keypair()sodium_crypto_kem_mlkem768_seed_keypair()sodium_crypto_kem_mlkem768_secretkey()sodium_crypto_kem_mlkem768_publickey()sodium_crypto_kem_mlkem768_enc()sodium_crypto_kem_mlkem768_dec()
URI
Uri\Rfc3986\Uri::getUriTypeUri\WhatWg\Url::isSpecialSchemeUri\Rfc3986\Uri::getHostTypeUri\WhatWg\Url::getHostTypeUri\WhatWg\url_percent_encode()
Zip
ZipArchive::openStringZipArchive::closeString