[web-php] master: release/8.6: Use consistent titlecase (#2074)

From: Date: Tue, 17 Nov 2026 21:11:26 +0000
Subject: [web-php] master: release/8.6: Use consistent titlecase (#2074)
Groups: php.webmaster 
Request: Send a blank email to php-webmaster+get-34204@lists.php.net to get a copy of this message
Author: Tim Düsterhus (TimWolla) Committer: GitHub (web-flow) Pusher: saundefined Date: 2026-11-18T00:11:23+03:00 Commit: https://github.com/php/web-php/commit/cc6428a2d148224a03f55385eaf2bb5cc9bd71e8 Raw diff: https://github.com/php/web-php/commit/cc6428a2d148224a03f55385eaf2bb5cc9bd71e8.diff release/8.6: Use consistent titlecase (#2074) Changed paths: M public/releases/8.6/languages/en.php Diff: 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 <code>?</code> and <code>...</code> 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 <code>Io\Poll</code> 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 <code>stream_select()</code>. It is designed as a common foundation that event loop libraries such as ReactPHP and AMPHP can build on.', - 'clamp_title' => 'New <code>clamp()</code> function', + 'clamp_title' => 'New <code>clamp()</code> 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 <code>\Time\Duration</code> class', + 'duration_title' => 'New <code>\Time\Duration</code> 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 <code>SortDirection</code> enum', + 'sort_direction_title' => 'New <code>SortDirection</code> Enum', 'sort_direction_description' => '<p>The <code>SortDirection</code> enum provides a shared, type-safe way to express sort order with its <code>Ascending</code> and <code>Descending</code> 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 <code>SortDirection</code> is built into PHP, libraries can accept it in their public APIs without needing adapter code.</p><p>Learn more about this feature in <a href="https://thephp.foundation/blog/2026/11/03/stdlib-investment/" target="_blank" rel="noopener noreferrer">The PHP Foundation’s blog</a>.</p>', 'stream_error_handling_title' => 'Stream Error Handling', 'stream_error_handling_description' => 'Stream operations can now be configured to throw a <code>StreamException</code> or to fail silently instead of emitting warnings. Errors are reported as structured <code>StreamError</code> objects with a <code>StreamErrorCode</code> enum case, the wrapper name, and the affected path or URL, and can also be retrieved later with <code>stream_last_errors()</code> 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 <code>ReflectionParameter::getDocComment()</code> method. This allows each parameter to be documented right next to its declaration, without repeating its name and type in a <code>@param</code> tag.', - 'isreadable_iswriteable_title' => 'New <code>ReflectionProperty::isReadable()</code> and <code>ReflectionProperty::isWritable()</code> methods', + 'isreadable_iswriteable_title' => 'New <code>ReflectionProperty::isReadable()</code> and <code>ReflectionProperty::isWritable()</code> 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 <code>#[\Override]</code> attribute can now be applied to class constants and enum cases.', 'new_enum_debug_info' => 'Enums can now implement the <code>__debugInfo()</code> magic method.', 'new_const_object_writes' => 'Properties of objects stored in constants can now be modified directly, e.g. <code>Config::DEFAULTS-&gt;timeout = 30</code>.', @@ -56,7 +56,7 @@ 'new_zip' => 'New <code>ZipArchive::openString()</code> and <code>ZipArchive::closeString()</code> methods work with in-memory archives.', 'new_performance' => 'Performance improvements include compiling <code>array_map()</code> with first-class callable or partial application callbacks into loops, faster <code>printf()</code> 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 <code>return</code> inside a <code>finally</code> block is now deprecated, as it silently discards exceptions and overrides values returned from the <code>try</code> or <code>catch</code> block.', 'bc_constructor_return' => 'Returning a value from <code>__construct()</code> or <code>__destruct()</code> and making them generators is now deprecated. Declaring a nullable return type for <code>__debugInfo()</code> is also deprecated.', 'bc_reserved_identifiers' => 'Using <code>let</code> or <code>is</code> as the name of a class, function, or constant is now deprecated. Using <code>_</code> as a constant name, <code>namespace</code> as a class constant name, or <code>readonly</code> as a function name is also deprecated.',

« previous php.webmaster (#34204) next »