Skip to content

docs: Internals Book improvements (07) - #23374

Draft
NickSdot wants to merge 20 commits into
php:masterfrom
NickSdot:docs/restructure-07
Draft

docs: Internals Book improvements (07)#23374
NickSdot wants to merge 20 commits into
php:masterfrom
NickSdot:docs/restructure-07

Conversation

@NickSdot

Copy link
Copy Markdown
Contributor

Depends on: #23368 (01), #23369 (02), #23370 (03), #23371 (04), #23372 (05), #23373 (06)

This PR gets the extensions contents from docs-old in order. It removes obsolete and clearly userland targeting stuff which is not relevant to the internals book. Diff to 06: NickSdot/php__php-src@docs/restructure-06...docs/restructure-07

Important:
Personally I think unbundled extensions have nothing todo with the internals book. It should live in the actual PHP Docs. However, it was part of the docs-old and I didn't want to decide on my own whether to remove the "Unbundled Extensions" page or not. A decision is needed.

Preview

Branch: https://nicksdot.github.io/docs-restructure-07/
Final: https://nicksdot.github.io/docs-restructure-final/

- retained compatible RST formatting to keep the diff comparable
- deferred documentation checks until the final migration step
- replaced obsolete prototypes and external MySQL example with current stream contracts
- removed zend_parse_parameter() which was removed on 2026-08-10 (see UPGRADING.INTERNALS).
- corrected variadic argument ownership/types.
- removed obsolete php 5 build system
- corrected PHP_NEW_EXTENSION signature and C++ setup
- replaced obsolete PHP 5 example with the current SAPI callback contract
- rewrote things
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.

1 participant