Skip to content

Fix reference access in dimensions for DOMNodeList and DOMNodeMap #13511

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

Closed
wants to merge 2 commits into from

Conversation

nielsdos
Copy link
Member

No description provided.

Copy link
Member

@Girgias Girgias left a comment

Choose a reason for hiding this comment

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

Should their be a test for a ref to an int?

bool(true)
string(3) "bar"

Warning: Attempt to read property "value" on null in %s on line %d
Copy link
Member

Choose a reason for hiding this comment

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

Isn't this warning kinda confusing?

Copy link
Member Author

Choose a reason for hiding this comment

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

Yeah, it's because the lookup returns NULL, but at least for this test I can adapt the test so it's less confusing.

@nielsdos
Copy link
Member Author

Should their be a test for a ref to an int?

Should be fine as it does the get_long call from the engine but I'll add a test anyway.

@nielsdos nielsdos closed this in b8a1041 Feb 26, 2024
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