Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

[Sync EN] Fix examples whose documented output doesn't match Run code (#5718)

未关闭
#445 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
55/100
Issue 类型
文档
描述清晰度
描述清楚
活跃度
冷清
技术栈
php
领域
documentation

调研方向

Start with the referenced PHP documentation commit and pull request, then compare the listed German XML files with their English counterparts. Update the documented outputs in the existing files and translate the listed new English files; the work is done when the German documentation matches the current English examples and their runtime output.

由索引模型根据 Issue 内容生成。

描述

sync-en

Commit: https://github.com/php/doc-en/commit/17c238517825dfb7ec3edfef5972acd944ffbc1e
PR: https://github.com/php/doc-en/pull/5718

Zu aktualisierende DE-Dateien

  • language/control-structures/foreach.xml
  • language/control-structures/goto.xml
  • language/control-structures/match.xml
  • language/control-structures/switch.xml
  • language/oop5/basic.xml
  • language/oop5/overloading.xml
  • language/types/array.xml
  • language/types/callable.xml
  • reference/array/functions/array-fill.xml
  • reference/array/functions/array-map.xml
  • reference/array/functions/array-udiff-assoc.xml
  • reference/array/functions/array-unique.xml
  • reference/array/functions/array-unshift.xml
  • reference/array/functions/natsort.xml
  • reference/datetime/formats.xml
  • reference/datetime/functions/date-default-timezone-get.xml
  • reference/datetime/functions/date-sun-info.xml
  • reference/pcre/functions/preg-replace.xml
  • reference/simplexml/functions/simplexml-load-string.xml
  • reference/simplexml/simplexmlelement/children.xml
  • reference/simplexml/simplexmlelement/getDocNamespaces.xml
  • reference/strings/functions/explode.xml
  • reference/strings/functions/htmlentities.xml
  • reference/strings/functions/ltrim.xml
  • reference/strings/functions/rtrim.xml
  • reference/strings/functions/str-word-count.xml
  • reference/strings/functions/strtok.xml
  • reference/strings/functions/trim.xml
  • reference/xmlwriter/xmlwriter/writecdata.xml

Neue EN-Dateien (noch nicht übersetzt)

  • language/oop5/lazy-objects.xml
  • reference/dom/dom/characterdata/before.xml
  • reference/dom/dom/characterdata/remove.xml
  • reference/dom/dom/characterdata/replacewith.xml
  • reference/dom/dom/htmldocument/createfromstring.xml
  • reference/dom/domdocument/append.xml
  • reference/dom/domdocumentfragment/replacechildren.xml
  • reference/dom/domelement/before.xml
  • reference/dom/domelement/getattributenames.xml
  • reference/dom/domnode/getlineno.xml
  • reference/libxml/functions/libxml-get-errors.xml
  • reference/libxml/functions/libxml-set-external-entity-loader.xml
  • reference/reflection/reflectionclass/getdefaultproperties.xml
  • reference/reflection/reflectionclass/getdoccomment.xml
  • reference/reflection/reflectionconstant/getshortname.xml
  • reference/uri/uri/rfc3986/uri/withfragment.xml
主要语言
XML
星标
29
派生
53
PR 合并指标
30 天内没有已合并 PR

环境准备

这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

php/doc-de 的其他 Issue

查看 php/doc-de 的全部 Issue

相似的 Issue

更多 Documentation Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。