@@ -579,7 +579,7 @@ PHP 8.5 UPGRADE NOTES
579579 . Passing a string which is not a single byte to ord() is now deprecated,
580580 this is indicative of a bug.
581581 RFC: https://wiki.php.net/rfc/deprecations_php_8_5#deprecate_passing_string_which_are_not_one_byte_long_to_ord
582- . Relying locally predefined variable $http_response_header is deprecated.
582+ . The locally predefined variable $http_response_header is deprecated.
583583 Instead one should call the http_get_last_response_headers() function.
584584 RFC: https://wiki.php.net/rfc/deprecations_php_8_5#deprecate_the_http_response_header_predefined_variable
585585
@@ -610,16 +610,16 @@ PHP 8.5 UPGRADE NOTES
610610 RFC: https://wiki.php.net/rfc/grapheme_add_locale_for_case_insensitive
611611
612612- LDAP:
613- . ldap_get_option() now accepts a NULL connection, as ldap_set_option(),
613+ . ldap_get_option() now accepts a NULL connection, like ldap_set_option(),
614614 to allow retrieval of global options.
615615
616616- libxml:
617617 . libxml_set_external_entity_loader() now has a formal return type of true.
618618
619619- OpenSSL:
620- . openssl_public_encrypt() and openssl_private_decrypt() have new parameter
621- $digest_algo that allows specifying hash digest algorithm for OEAP padding.
622- . openssl_sign() and openssl_verify() have new parameter $padding to allow
620+ . openssl_public_encrypt() and openssl_private_decrypt() have a new parameter
621+ $digest_algo that allows specifying the hash digest algorithm for OAEP padding.
622+ . openssl_sign() and openssl_verify() have a new parameter $padding to allow
623623 using more secure RSA PSS padding.
624624 . openssl_cms_encrypt() $cipher_algo parameter can be a string with the
625625 cipher name. That allows to use more algorithms including AES GCM cipher
@@ -631,9 +631,9 @@ PHP 8.5 UPGRADE NOTES
631631 gather various platform specific metrics about the child process.
632632
633633- PDO_PGSQL:
634- . PDO::pgsqlCopyFromArray also supports inputs as Iterable.
635- . Pdo\Pgsql::setAttribute and Pdo\Pgsql::prepare supports
636- PDO::ATTR_PREFETCH sets to 0 which set to lazy fetch mode.
634+ . PDO::pgsqlCopyFromArray now supports Iterable inputs .
635+ . Pdo\Pgsql::setAttribute and Pdo\Pgsql::prepare support setting
636+ PDO::ATTR_PREFETCH to 0 which enters lazy fetch mode.
637637 In this mode, statements cannot be run in parallel.
638638
639639- PDO_SQLITE:
@@ -644,7 +644,7 @@ PHP 8.5 UPGRADE NOTES
644644 in line with Pdo_Sqlite::createCollation behavior.
645645
646646- PGSQL:
647- . pg_copy_from also supports inputs as Iterable.
647+ . pg_copy_from now supports Iterable inputs .
648648 . pg_connect checks if the connection_string argument contains
649649 any null byte.
650650 . pg_close_stmt checks if the statement_name argument contains
@@ -658,12 +658,12 @@ PHP 8.5 UPGRADE NOTES
658658 . posix_fpathconf checks invalid file descriptors and sets
659659 last_error to EBADF and raises an E_WARNING message.
660660 . posix_kill throws a ValueError when the process_id argument is lower
661- or greater than what supports the platform (signed integer or long
661+ or greater than what the platform supports (signed integer or long
662662 range), posix_setpgid throws a ValueError when the process_id or
663663 the process_group_id is lower than zero or greater than
664- what supports the platform.
665- . posix_setrlimit throws a ValueError when the hard_limit of soft_limit
666- argument are lower than -1 or if soft_limit is greater than hard_limit.
664+ what the platform supports .
665+ . posix_setrlimit throws a ValueError when the hard_limit or soft_limit
666+ arguments are lower than -1 or if soft_limit is greater than hard_limit.
667667
668668- Reflection:
669669 . The output of ReflectionClass::__toString() for enums has changed to
@@ -676,14 +676,14 @@ PHP 8.5 UPGRADE NOTES
676676 properties.
677677 . ReflectionAttribute::newInstance() can now throw errors for internal
678678 attributes if the attribute was applied on an invalid target and the
679- error was delayed from compile- time to runtime via the
679+ error was delayed from compile time to runtime via the
680680 #[\DelayedTargetValidation] attribute.
681681 RFC: https://wiki.php.net/rfc/delayedtargetvalidation_attribute
682682
683683- Session:
684- . session_start is stricter in regard to the option argument.
685- It throws a ValueError if the whole is not a hashmap or
686- a TypeError if read_and_close value is not a valid type
684+ . session_start is stricter in regard to the options argument.
685+ It throws a ValueError if the array is not a hashmap, or
686+ a TypeError if the read_and_close value is not a valid type
687687 compatible with int.
688688
689689- SNMP:
@@ -710,14 +710,13 @@ PHP 8.5 UPGRADE NOTES
710710 when the created socket is not of AF_INET/AF_INET6 family.
711711
712712- Tidy:
713- . tidy::__construct/parseFile/parseString now throws a ValueError
714- if the configuration contains an invalid or set a read-only
715- internal entry, a TypeError contains, at least, one element
716- when the key is not a string.
713+ . tidy::__construct/parseFile/parseString now throws a ValueError if the
714+ configuration contains an invalid value or attempts to set a read-only
715+ internal entry, and a TypeError if a configuration key is not a string.
717716
718717- Zlib:
719718 . The "use_include_path" argument for the
720- gzfile, gzopen and readgzfile functions had been changed
719+ gzfile, gzopen and readgzfile functions has been changed
721720 from int to boolean.
722721 . gzfile, gzopen and readgzfile functions now respect the default
723722 stream context.
@@ -739,7 +738,7 @@ PHP 8.5 UPGRADE NOTES
739738 . Added Closure::getCurrent() to receive currently executing closure.
740739
741740- Curl:
742- . curl_multi_get_handles() allows retrieving all CurlHandles current
741+ . curl_multi_get_handles() allows retrieving all CurlHandles currently
743742 attached to a CurlMultiHandle. This includes both handles added using
744743 curl_multi_add_handle() and handles accepted by CURLMOPT_PUSHFUNCTION.
745744 . curl_share_init_persistent() allows creating a share handle that is
@@ -967,7 +966,7 @@ PHP 8.5 UPGRADE NOTES
967966 PHP_RELEASE_VERSION are now always numbers. Previously, they have been
968967 strings for buildconf builds.
969968
970- * phpize builds now reflect the source tree in the build dir (like that already
969+ * phpize builds now reflect the source tree in the build dir (as it already
971970 worked for in-tree builds); some extension builds (especially when using
972971 Makefile.frag.w32) may need adjustments.
973972
@@ -1063,4 +1062,4 @@ PHP 8.5 UPGRADE NOTES
10631062 . Improved property access performance.
10641063
10651064- XMLWriter:
1066- . Improved performance and reduce memory consumption.
1065+ . Improved performance and reduced memory consumption.
0 commit comments