Skip to content

[skip ci] Various typo fixes - #23803

Open
aguashui wants to merge 1 commit into
php:masterfrom
aguashui:fix-typos-and-grammatical-errors
Open

aguashui wants to merge 1 commit into
php:masterfrom
aguashui:fix-typos-and-grammatical-errors

Conversation

@aguashui

@aguashui aguashui commented Sep 20, 2026

Copy link
Copy Markdown

Disclaimer: The data was the product of vibing with Gemini. Homebrew tools used included codespell, typos, gh, git, python3, php, and brew.

Cleans several typographical and grammatical errors across documentation, build tools, comments, and internal local identifiers:

  • Local identifiers:
    • Refactored grammatically incorrect local variable childrens -> children in RecursiveFilterIterator::getChildren (ext/spl/spl_iterators.c).
    • Refactored local variable sav -> saved_char in sapi_header_add_op (main/SAPI.c).
  • Build & scripts:
    • Fixed typos in build/gen_stub.php (readd -> re-add), ext/ext_skel.php (hypens -> hyphens), and scripts/gdb/php_gdb.py / main/debug_gdb_scripts.c (by-passed -> bypassed).
  • Docs & comments:
    • Corrected spelling and grammar in docs/release-process.md, Zend/zend_API.c, Zend/zend_partial.c, Zend/zend_call_stack.c, and various extension files (ext/dom, ext/ftp, ext/openssl, ext/opcache, ext/pdo, ext/session, ext/spl, ext/standard).

No public C APIs, ABI structures, or PHP userland APIs were altered.

Correct typographical and grammatical mistakes across docs, comments, and build tools. Refactor local identifiers childrens to children in RecursiveFilterIterator and sav to saved_char in sapi_header_add_op.
@LamentXU123 LamentXU123 changed the title Kitchen sink changes [skip ci] Various typo fixes Sep 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants