[web-php] master: releases/8.6: Minor phrasing improvement for Duration (#2073)
| From: | Tim Düsterhus via GitHub | Date: | Tue, 17 Nov 2026 21:56:35 +0000 |
| Subject: | [web-php] master: releases/8.6: Minor phrasing improvement for Duration (#2073) | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-34207@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:56:29+03:00
Commit: https://github.com/php/web-php/commit/3a119ea0972f5773f09f8e103951f36c6b481b10
Raw diff: https://github.com/php/web-php/commit/3a119ea0972f5773f09f8e103951f36c6b481b10.diff
releases/8.6: Minor phrasing improvement for Duration (#2073)
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 504edae29e..a1063ffadb 100644
--- a/public/releases/8.6/languages/en.php
+++ b/public/releases/8.6/languages/en.php
@@ -31,7 +31,7 @@
'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_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.',
+ 'duration_description' => 'The Duration class represents elapsed time as
measured by a stopwatch. Its representation is independent of any time and timezone and can
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_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',