Skip to content

GH-21754: sapi/cli: avoid deprecation messages with --rf and methods#21758

Open
DanielEScherzer wants to merge 3 commits intophp:PHP-8.4from
DanielEScherzer:cli-reflection-deprecation
Open

GH-21754: sapi/cli: avoid deprecation messages with --rf and methods#21758
DanielEScherzer wants to merge 3 commits intophp:PHP-8.4from
DanielEScherzer:cli-reflection-deprecation

Conversation

@DanielEScherzer
Copy link
Copy Markdown
Member

No description provided.

@DanielEScherzer DanielEScherzer linked an issue Apr 14, 2026 that may be closed by this pull request
Comment on lines +1060 to +1061
object_init_ex(&ref, pce);
zend_call_known_instance_method_with_1_params(
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.

Could be object_init_with_constructor :)

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

That is existing code that I didn't want to touch on bugfix branches, maybe for master though as a follow-up?

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.

That's a fair point :)

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.

notice in php --rf class::method

2 participants