Skip to content

Document 8.5 CLI SAPI changes#5077

Open
jordikroon wants to merge 3 commits intophp:masterfrom
jordikroon:docs/85-sapi-changes
Open

Document 8.5 CLI SAPI changes#5077
jordikroon wants to merge 3 commits intophp:masterfrom
jordikroon:docs/85-sapi-changes

Conversation

@jordikroon
Copy link
Copy Markdown
Contributor

@jordikroon jordikroon commented Jan 5, 2026

  • Remove deprecated -z/--zend-extension command-line option documentation
  • Document new --ini=diff feature
  • Add changelog entry for cli_get_process_title() E_WARNING behavior change

I decided to silently remove the -z feature since the -z option as it was non-functional. If we wish to document I'd like to have suggestions of where to put.

@jordikroon jordikroon changed the title docs: remove -z extension option and document --ini enhancements Document 8.5 CLI SAPI changes Jan 5, 2026
@jordikroon jordikroon marked this pull request as ready for review January 5, 2026 21:25
Remove deprecated -z/--zend-extension command-line option documentation.
Document new --ini=diff feature for PHP 8.5.0+ and add changelog entry
for cli_get_process_title() E_WARNING behavior change in 8.5.0.
@jordikroon jordikroon force-pushed the docs/85-sapi-changes branch from ca4a63e to 7fcbaf9 Compare January 18, 2026 21:47
Updated XML documentation to use simpara (simple paragraph) tags instead of para tags within the note element for the --ini=diff option. This provides more semantically appropriate markup for brief, single-paragraph content.
Comment on lines +64 to +65
<function>cli_get_process_title</function> will now return an <constant>E_WARNING</constant>
if the process title is too long to be retrieved.
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.

Return an E_WARNING? Did you mean to say "will now emit an E_WARNING"?

@lacatoire
Copy link
Copy Markdown
Member

Thanks for the CLI changes @jordikroon ! The -z removal and --ini=diff look good.

But i think there might be an error in the changelog entry, the "too long" check was added to set_ps_title(), not get_ps_title(). Should this be a changelog for cli_set_process_title() instead?
See php/php-src@d21777d

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants