Skip to content

Fix #206: Null coalescing operator on Vector make search failed#207

Merged
rtheunissen merged 1 commit into
php-ds:masterfrom
ndossche:fix-206
Feb 28, 2024
Merged

Fix #206: Null coalescing operator on Vector make search failed#207
rtheunissen merged 1 commit into
php-ds:masterfrom
ndossche:fix-206

Conversation

@ndossche

Copy link
Copy Markdown
Contributor

This happens because php_ds_vector_read_dimension makes a REF from the value when type is not BP_VAR_R. So when the type is BP_VAR_IS then we see the first element becomes a reference. You can see this when doing var_dump.

This happens because php_ds_vector_read_dimension makes a REF from the value
when type is not BP_VAR_R. So when the type is BP_VAR_IS then we see the first
element becomes a reference. You can see this when doing var_dump.
@ndossche

Copy link
Copy Markdown
Contributor Author

AppVeyor seems to fail because the SDK that you download in the workflow is outdated and thus not aware of PHP 8.3.

@rtheunissen rtheunissen left a comment

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.

LGTM, thank you.

@rtheunissen
rtheunissen merged commit 5f8915d into php-ds:master Feb 28, 2024
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