-
Notifications
You must be signed in to change notification settings - Fork 50
Closed
Description
These interfaces and classes implement ArrayAccess in the extension:
$classes = array_merge(get_declared_interfaces(), get_declared_classes());
foreach ($classes as $class) {
if (substr($class, 0, 3) === 'Ds\\') {
if ((new ReflectionClass($class))->implementsInterface(ArrayAccess::class)) {
echo "$class\n";
}
}
}Ds\Sequence
Ds\Vector
Ds\Deque
Ds\Stack
Ds\Map
However, I can see that the following classes/interfaces implement ArrayAccess in the polyfill:
Ds\Queue
Ds\Stack
Ds\Sequence
Ds\Set
Ds\Map
In short, the following classes implement ArrayAccess in the polyfill but not in the extension (at least, according to reflection):
QueueSet
Is this an issue with the polyfill or the extension?
Metadata
Metadata
Assignees
Labels
No labels