PHP 8.6.0 RC3 available for testing

Nouvelles fonctions

Core

  • clamp() retourne la valeur donnée si elle est dans l'intervalle, sinon retourne la borne la plus proche.
  • stream_last_errors()
  • stream_clear_errors()
  • stream_socket_get_crypto_status()

GMP

  • gmp_powm_sec()
  • gmp_prevprime()

Intl

  • grapheme_strrev()
  • IntlDatePatternGenerator::getSkeleton()
  • IntlDatePatternGenerator::getBaseSkeleton()
  • Locale::getDisplayKeyword()
  • locale_get_display_keyword()
  • Locale::getDisplayKeywordValue()
  • locale_get_display_keyword_value()
  • SpoofChecker::areBidiConfusable()
  • SpoofChecker::getBidiSkeleton()
  • SpoofChecker::getSkeleton()

Reflection

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

SNMP

  • snmp_init_mib()
  • snmp_set_mib_option()
  • snmp_set_output_option()
  • snmp_set_string_output_format()
  • SNMP::setOidOutputFormat()
  • SNMP::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()

Les fonctions suivantes exposent le KEM X-Wing (hybride ML-KEM768+X25519, le KEM recommandé par libsodium). Elles sont disponibles lorsque PHP est compilé avec libsodium 1.0.22 ou ultérieur.

  • 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()

Les fonctions suivantes exposent le KEM ML-KEM768 (FIPS 203). Elles sont disponibles lorsque PHP est compilé avec libsodium 1.0.22 ou ultérieur.

  • 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::getUriType()
  • Uri\WhatWg\Url::isSpecialScheme()
  • Uri\Rfc3986\Uri::getHostType()
  • Uri\WhatWg\Url::getHostType()
  • Uri\WhatWg\url_percent_encode()

Zip

  • ZipArchive::openString()
  • ZipArchive::closeString()
+add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top