Skip to content

Document --ini=diff in the php(1) man page - #25572

Open
rawsun007 wants to merge 1 commit into
php:PHP-8.5from
rawsun007:php1-ini-diff
Open

rawsun007 wants to merge 1 commit into
php:PHP-8.5from
rawsun007:php1-ini-diff

Conversation

@rawsun007

Copy link
Copy Markdown

--ini=diff was added in PHP 8.5 (UPGRADING: "Added a new --ini=diff option to print INI settings changed from the builtin default") and php -h lists it, but php.1 still only describes --ini. This adds the entry, worded as in the usage text.

Targeting PHP-8.5, the lowest branch with the option. Checked with mandoc -T lint (same 12 pre-existing warnings before and after) and by rendering the page.

--repeat <count> is also in php -h and not in the man page. It is left out, since the usage text marks it "For internal purposes only".

Found by comparing the OPTIONS[] table in sapi/cli/php_cli.c with php.1.in. Found and written with Claude Code (Claude Opus 5.5).

The option was added in PHP 8.5 and is listed by php -h, but the man page
only described --ini.

@LamentXU123 LamentXU123 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you.

@LamentXU123
LamentXU123 requested a review from iliaal November 19, 2026 07:46
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