[Sync-En] document the PHP 8.5 core language features and deprecations - #1285
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Translation of php/doc-en#5824 (commit 4c352e6) and php/doc-en#5823 (commit cf7dcff): the PHP 8.5 core additions (type casts, closures and first-class callables in constant expressions, stack traces in fatal errors, Closure as a subtype of callable) and the PHP 8.5 deprecations (constant redeclaration,
__debugInfo()returning null, incrementing non-numeric strings, binding closures across incompatible scopes, output inside an output handler), plus the newmax_memory_limitINI setting. EN-Revision updated.Both commits touch
language/constants.xml, and the second is the later commit on it, so they cannot be split across PRs without check-en-revision failing.Fixed a few defects in the files along the way: "cierre" was treated as feminine throughout
bindto.xmland one of its paragraphs no longer matched the English,ob-start.xmlhad an example whose code searched for French strings that never appear in its own output, the increment page had a truncated first sentence and anechothat disagreed with the expected output, and there were two typos incallable.xml. Note that large parts oflanguage/functions.xmlare still untranslated upstream of this change; that is left as is.Fixes: #1276
Fixes: #1278