Skip to content

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

Merged
jrfnl merged 1 commit into
developfrom
feature/arrays-getdoublearrowptr-bug-fix
Jul 10, 2023
Merged

Arrays::getDoubleArrowPtr(): allow for (keyed) lists in array values#485
jrfnl merged 1 commit into
developfrom
feature/arrays-getdoublearrowptr-bug-fix

Conversation

@jrfnl

@jrfnl jrfnl commented Jul 10, 2023

Copy link
Copy Markdown
Member

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
@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

Development

Successfully merging this pull request may close these issues.

1 participant