[Sync EN] Fix examples whose documented output doesn't match Run code
Open
Nobody has claimed this yet.
Перевод устарел
- Dominant language
- XML
- Stars
- 60
- Forks
- 83
- Avg merge
- 7d 9m
- Merged PRs (30d)
- 15
Description
PR: https://github.com/php/doc-en/pull/5718 (2026-07-31)
Файлы RU для обновления
language/control-structures/foreach.xmllanguage/control-structures/goto.xmllanguage/control-structures/match.xmllanguage/control-structures/switch.xmllanguage/oop5/basic.xmllanguage/oop5/lazy-objects.xmllanguage/oop5/overloading.xmllanguage/types/array.xmllanguage/types/callable.xmlreference/array/functions/array-fill.xmlreference/array/functions/array-map.xmlreference/array/functions/array-udiff-assoc.xmlreference/array/functions/array-unique.xmlreference/array/functions/array-unshift.xmlreference/array/functions/natsort.xmlreference/datetime/formats.xmlreference/datetime/functions/date-default-timezone-get.xmlreference/datetime/functions/date-sun-info.xmlreference/dom/dom/characterdata/before.xmlreference/dom/dom/characterdata/remove.xmlreference/dom/dom/characterdata/replacewith.xmlreference/dom/dom/htmldocument/createfromstring.xmlreference/dom/domdocument/append.xmlreference/dom/domdocumentfragment/replacechildren.xmlreference/dom/domelement/before.xmlreference/dom/domelement/getattributenames.xmlreference/dom/domnode/getlineno.xmlreference/libxml/functions/libxml-get-errors.xmlreference/libxml/functions/libxml-set-external-entity-loader.xmlreference/pcre/functions/preg-replace.xmlreference/reflection/reflectionclass/getdefaultproperties.xmlreference/reflection/reflectionclass/getdoccomment.xmlreference/reflection/reflectionconstant/getshortname.xmlreference/simplexml/functions/simplexml-load-string.xmlreference/simplexml/simplexmlelement/children.xmlreference/simplexml/simplexmlelement/getDocNamespaces.xmlreference/strings/functions/explode.xmlreference/strings/functions/htmlentities.xmlreference/strings/functions/ltrim.xmlreference/strings/functions/rtrim.xmlreference/strings/functions/str-word-count.xmlreference/strings/functions/strtok.xmlreference/strings/functions/trim.xmlreference/uri/uri/rfc3986/uri/withfragment.xmlreference/xmlwriter/xmlwriter/writecdata.xml
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Compare the listed Russian XML files with their English counterparts and PR #5718, starting with the first file, language/control-structures/foreach.xml. Update examples whose documented output differs from running the code, then verify that all listed files are synchronized and their outputs match.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- documentation, localization
- Issue type
- Documentation
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 25/100