Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support modifying named params #121

Merged
merged 2 commits into from
Jan 24, 2024

Conversation

agoallikmaa
Copy link
Contributor

Resolves open-telemetry/opentelemetry-php#1153

Found a private function for mapping name to index in PHP sources, so reusing that. The rest is quite straightforward.

Added some additional test cases for various corner cases (named arg does not exist, modifying via index and name both).

@brettmc brettmc merged commit 5b5c6ce into open-telemetry:main Jan 24, 2024
16 checks passed
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.

[opentelemetry-php-instrumentation] - support modifying named params from pre hook
2 participants