Skip to content

[Sync-En] Document clone(), PHP 8.5 BC changes and attribute signatures - #1320

Merged
julionc merged 1 commit into
php:masterfrom
lacatoire:sync-en/php85-attributes-clone
Sep 18, 2026
Merged

julionc merged 1 commit into
php:masterfrom
lacatoire:sync-en/php85-attributes-clone

Conversation

@lacatoire

Copy link
Copy Markdown
Member

Translation of php/doc-en#5854 (commit 09c6504), php/doc-en#5839 (commit 2594e1b), php/doc-en#5837 (commit 4fc9f9e) and php/doc-en#5631 (commit 8dc5bef). They share cloning.xml, attribute.xml and deprecated.xml, so the EN-Revision check requires them in one PR. Most of the 77 files are the one-line #[\Deprecated]/#[\Attribute] signature updates, and the attribute pages also get the empty xi:fallback removal from php/doc-en#5699. EN-Revision updated.

The other content: clone() with property overrides, the new #[\Deprecated] targets, hrtime() on macOS, and the PHP 8.5 notes on traits binding, final static return types, loose object/bool comparison, float to int warnings, list(), tick handlers and ArrayObject/ArrayIterator.

Along the way, fixed mistranslations and grammar errors in several of these files (for example override.xml said the attribute can only be used on __construct(), the strftime %U row said Monday instead of Sunday, and the traits precedence paragraph said the opposite of the English). The DelayedTargetValidation page listed in #1308 as untranslated is left for a separate PR.

Fixes: #1301
Fixes: #1305
Fixes: #1306
Fixes: #1308

@julionc
julionc merged commit cbcd52b into php:master Sep 18, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants