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

Arrays::getDoubleArrowPtr(): allow for (keyed) lists in array values #485

Merged
merged 1 commit into from
Jul 10, 2023

Conversation

jrfnl
Copy link
Member

@jrfnl jrfnl commented Jul 10, 2023

PHP 7.2 introduced keyed lists, but the Arrays::getDoubleArrowPtr() method did not take this into account correctly.

Keyed short lists were already handled correctly as they tokenize the same as short arrays. Keyed long lists were not.

Fixed now.

Includes tests.

PHP 7.2 introduced keyed lists, but the `Arrays::getDoubleArrowPtr()` method did not take this into account correctly.

Keyed short lists were already handled correctly as they tokenize the same as short arrays.
Keyed long lists were not.

Fixed now.

Includes tests.
@jrfnl jrfnl added this to the 1.0.x Next milestone Jul 10, 2023
@jrfnl jrfnl merged commit 9cef48d into develop Jul 10, 2023
51 checks passed
@jrfnl jrfnl deleted the feature/arrays-getdoublearrowptr-bug-fix branch July 10, 2023 13:34
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.

None yet

1 participant