@@ -327,6 +327,10 @@ PHP 8.5 UPGRADE NOTES
327327- libxml:
328328 . libxml_set_external_entity_loader() now has a formal return type of true.
329329
330+ - OpenSSL:
331+ . openssl_public_encrypt() and openssl_private_decrypt() have new parameter
332+ $digest_algo that allows specifying hash digest algorith for OEAP padding.
333+
330334- PCNTL:
331335 . pcntl_exec() now has a formal return type of false.
332336 . pcntl_waitid() takes an additional resource_usage argument to
@@ -381,7 +385,7 @@ PHP 8.5 UPGRADE NOTES
381385- Sockets:
382386 . socket_create_listen, socket_bind and socket_sendto throw a
383387 ValueError if the port is lower than 0 or greater than 65535,
384- also if any of the hints array entry is indexes numerically.
388+ and also if any of the hints array entries are indexed numerically.
385389 . socket_addrinfo_lookup throws a TypeError if any of the hints
386390 values cannot be cast to int and can throw a ValueError if
387391 any of these values overflow.
@@ -421,6 +425,7 @@ PHP 8.5 UPGRADE NOTES
421425 . The clone language construct is now a function and supports reassigning
422426 (readonly) properties during cloning via the new $withProperties parameter.
423427 RFC: https://wiki.php.net/rfc/clone_with_v2
428+ . Added Closure::getCurrent() to receive currently executing closure.
424429
425430- Curl:
426431 . curl_multi_get_handles() allows retrieving all CurlHandles current
@@ -466,6 +471,7 @@ PHP 8.5 UPGRADE NOTES
466471 ReflectionConstant::getExtensionName() were introduced.
467472 . ReflectionConstant::getAttributes() was introduced.
468473 RFC: https://wiki.php.net/rfc/attributes-on-constants
474+ . ReflectionProperty::getMangledName() was introduced.
469475
470476- Sqlite:
471477 . Sqlite3Stmt::busy to check if a statement had been fetched
@@ -505,7 +511,7 @@ PHP 8.5 UPGRADE NOTES
505511 CURLFOLLOW_FIRSTONLY.
506512
507513- Fileinfo:
508- . Upgraded to file 5.46.
514+ . Upgraded file from 5.45 to 5.46.
509515 . The return type of finfo_close() has been changed to true, rather
510516 than bool.
511517
@@ -520,7 +526,7 @@ PHP 8.5 UPGRADE NOTES
520526 RFC: https://wiki.php.net/rfc/url_parsing_api
521527
522528- PCRE:
523- . Upgraded to pcre2lib from 10.44 to 10.45.
529+ . Upgraded pcre2lib from 10.44 to 10.45.
524530
525531- PDO_Sqlite:
526532 . Increased minimum release version support from 3.7.7 to 3.7.17.
@@ -699,6 +705,7 @@ PHP 8.5 UPGRADE NOTES
699705 . Improved unpack() performance with nameless repetitions by avoiding
700706 creating temporary strings and reparsing them.
701707 . Improved pack() performance.
708+ . Minor improvements in array_chunk() performance.
702709
703710- XMLReader:
704711 . Improved property access performance.
0 commit comments