diff --git a/public/releases/8.6/languages/en.php b/public/releases/8.6/languages/en.php index 000fb68ecb..d433cc2a84 100644 --- a/public/releases/8.6/languages/en.php +++ b/public/releases/8.6/languages/en.php @@ -24,24 +24,24 @@ 'pfa_title' => 'Partial Function Application', 'pfa_description' => 'Allows some of a function\'s arguments to be provided in advance, using ? and ... placeholders for the rest. The result is a Closure, and the function is only called once the remaining arguments are passed to it.', - 'readonly_property_defaults_title' => 'Readonly property defaults', + 'readonly_property_defaults_title' => 'Readonly Property Defaults', 'readonly_property_defaults_description' => 'Instance readonly properties, including those in readonly classes, can now declare a default value. This makes it simple to implement get-only interface properties with fixed values, which previously required assigning them in a constructor. The default counts as the property\'s initialization, so the constructor cannot overwrite it.', 'polling_api_title' => 'Polling API', 'polling_api_description' => 'The new Io\Poll API efficiently monitors many streams at once using the best mechanism available on each platform (epoll, kqueue, event ports, or WSAPoll), without the scalability limits of stream_select(). It is designed as a common foundation that event loop libraries such as ReactPHP and AMPHP can build on.', - 'clamp_title' => 'New clamp() function', + 'clamp_title' => 'New clamp() Function', 'clamp_description' => 'Ensures that a given value (numeric or otherwise) falls within a specified range. Otherwise, the nearest boundary value is returned.', - 'duration_title' => 'New \Time\Duration class', + 'duration_title' => 'New \Time\Duration Class', 'duration_description' => 'The Duration class represents elapsed time as measured by a stopwatch. Its representation is independent of any time and timezone and allows to represent a range of more than 250 years with nanosecond precision. This makes it well-suited to represent timeouts or benchmark timings in an expressive way.', - 'sort_direction_title' => 'New SortDirection enum', + 'sort_direction_title' => 'New SortDirection Enum', 'sort_direction_description' => '

The SortDirection enum provides a shared, type-safe way to express sort order with its Ascending and Descending cases. Previously, every library had to define its own way of representing sort direction, resulting in a mix of incompatible integers, strings, booleans, and custom enums. Since SortDirection is built into PHP, libraries can accept it in their public APIs without needing adapter code.

Learn more about this feature in The PHP Foundation’s blog.

', 'stream_error_handling_title' => 'Stream Error Handling', 'stream_error_handling_description' => 'Stream operations can now be configured to throw a StreamException or to fail silently instead of emitting warnings. Errors are reported as structured StreamError objects with a StreamErrorCode enum case, the wrapper name, and the affected path or URL, and can also be retrieved later with stream_last_errors() or passed to a custom error handler.', - 'doc_comments_title' => 'DocComments For Function Parameters', + 'doc_comments_title' => 'DocComments for Function Parameters', 'doc_comments_description' => 'Function and method parameters can now have their own DocComments, which are available via the new ReflectionParameter::getDocComment() method. This allows each parameter to be documented right next to its declaration, without repeating its name and type in a @param tag.', - 'isreadable_iswriteable_title' => 'New ReflectionProperty::isReadable() and ReflectionProperty::isWritable() methods', + 'isreadable_iswriteable_title' => 'New ReflectionProperty::isReadable() and ReflectionProperty::isWritable() Methods', 'isreadable_iswriteable_description' => 'With readonly properties, asymmetric visibility, and property hooks, checking whether a property is public is no longer enough to know whether it can be read or written. The new methods answer this directly for a given scope, and optionally for a specific object, taking into account visibility, initialization state, hooks, and magic methods.', - 'new_classes_title' => 'Additional features and improvements', + 'new_classes_title' => 'Additional Features and Improvements', 'new_override_constants' => 'The #[\Override] attribute can now be applied to class constants and enum cases.', 'new_enum_debug_info' => 'Enums can now implement the __debugInfo() magic method.', 'new_const_object_writes' => 'Properties of objects stored in constants can now be modified directly, e.g. Config::DEFAULTS->timeout = 30.', @@ -56,7 +56,7 @@ 'new_zip' => 'New ZipArchive::openString() and ZipArchive::closeString() methods work with in-memory archives.', 'new_performance' => 'Performance improvements include compiling array_map() with first-class callable or partial application callbacks into loops, faster printf() calls, caching of stateless closures, and faster JSON encoding.', - 'bc_title' => 'Deprecations and backward compatibility breaks', + 'bc_title' => 'Deprecations and Backward Compatibility Breaks', 'bc_return_in_finally' => 'Using return inside a finally block is now deprecated, as it silently discards exceptions and overrides values returned from the try or catch block.', 'bc_constructor_return' => 'Returning a value from __construct() or __destruct() and making them generators is now deprecated. Declaring a nullable return type for __debugInfo() is also deprecated.', 'bc_reserved_identifiers' => 'Using let or is as the name of a class, function, or constant is now deprecated. Using _ as a constant name, namespace as a class constant name, or readonly as a function name is also deprecated.',