Skip to content

Fix instanceof type aliases for PHP 7.x in live debugger DSL#3813

Merged
bwoebi merged 1 commit intomasterfrom
bob/live-debugger-alias
Apr 22, 2026
Merged

Fix instanceof type aliases for PHP 7.x in live debugger DSL#3813
bwoebi merged 1 commit intomasterfrom
bob/live-debugger-alias

Conversation

@bwoebi
Copy link
Copy Markdown
Collaborator

@bwoebi bwoebi commented Apr 22, 2026

PHP 7.x returns "integer" for IS_LONG and "double" for IS_DOUBLE from zend_zval_type_name(), while the debugger DSL uses "int" and "float". Add alias normalization so instanceof checks work across PHP versions.

PHP 7.x returns "integer" for IS_LONG and "double" for IS_DOUBLE from
zend_zval_type_name(), while the debugger DSL uses "int" and "float".
Add alias normalization so instanceof checks work across PHP versions.
@bwoebi bwoebi requested a review from a team as a code owner April 22, 2026 13:49
@datadog-datadog-prod-us1-2
Copy link
Copy Markdown

datadog-datadog-prod-us1-2 Bot commented Apr 22, 2026

Tests

🎉 All green!

❄️ No new flaky tests detected
🧪 All tests passed

🎯 Code Coverage (details)
Patch Coverage: 100.00%
Overall Coverage: 60.69% (+0.00%)

This comment will be updated automatically if new data arrives.
🔗 Commit SHA: c3514e9 | Docs | Datadog PR Page | Give us feedback!

@bwoebi bwoebi merged commit ee25be4 into master Apr 22, 2026
2091 of 2108 checks passed
@bwoebi bwoebi deleted the bob/live-debugger-alias branch April 22, 2026 14:51
@github-actions github-actions Bot added this to the 1.19.0 milestone Apr 22, 2026
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.

2 participants