@@ -266,7 +266,7 @@ PHP 8.5 UPGRADE NOTES
266266
267267- Standard:
268268 . getimagesize() now supports SVG images when ext-libxml is also loaded.
269- Similarly, image_type_to_extension() and image_type_to_extension ()
269+ Similarly, image_type_to_extension() and image_type_to_mime_type ()
270270 now also handle IMAGETYPE_SVG.
271271 . The array returned by getimagesize() now has two additional entries:
272272 "width_unit" and "height_unit" to indicate in which units the dimensions
@@ -348,7 +348,7 @@ PHP 8.5 UPGRADE NOTES
348348
349349- OpenSSL:
350350 . openssl_public_encrypt() and openssl_private_decrypt() have new parameter
351- $digest_algo that allows specifying hash digest algorith for OEAP padding.
351+ $digest_algo that allows specifying hash digest algorithm for OEAP padding.
352352
353353- PCNTL:
354354 . pcntl_exec() now has a formal return type of false.
@@ -396,14 +396,14 @@ PHP 8.5 UPGRADE NOTES
396396 are enum cases rather than normal class constants.
397397 . The output of ReflectionProperty::__toString() for properties with
398398 hooks has changed to indicate what hooks the property has, whether those
399- hooks are final, and whether the property is virtual. This also affects
399+ hooks are final, and whether the property is virtual. This also affects
400400 the output of ReflectionClass::__toString() when a class contains hooked
401401 properties.
402402
403403- Session:
404404 . session_start is stricter in regard to the option argument.
405405 It throws a ValueError if the whole is not a hashmap or
406- a TypeError if read_on_close value is not a valid type
406+ a TypeError if read_and_close value is not a valid type
407407 compatible with int.
408408
409409- SNMP:
0 commit comments