TysonAndre / pecl-teds

Tentative Extra Data Structures for php
BSD 3-Clause "New" or "Revised" License
30 stars 4 forks source link

Release 1.2.3 - change pop(), fix reference handling #183

Closed TysonAndre closed 2 years ago

TysonAndre commented 2 years ago

Make pop() affect iterators like offsetUnset

Iterators pointing to the element/entry removed with pop() will be moved backwards, consistently.

Convert references to non-references when constructing/unserializing from arrays/traversables in a few Collections that missed that step