Closed jmalloc closed 11 years ago
PHP Issue: https://bugs.php.net/bug.php?id=45684
This affects both Set and Map. Set was changed in #32 to yield integer strings, unfortunately this is no good for Map.
Set
Map
Workaround:
Iterator::key() is not called if the key value is not used in foreach, so the following workaround will work, however unfortunate:
Iterator::key()
foreach ($map as $value) { $key = $map->key(); // do work }
The fix for this issue has been accepted into PHP 5.5.
PHP Issue: https://bugs.php.net/bug.php?id=45684
This affects both
Set
andMap
.Set
was changed in #32 to yield integer strings, unfortunately this is no good forMap
.Workaround:
Iterator::key()
is not called if the key value is not used in foreach, so the following workaround will work, however unfortunate: