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

Documentation: Iterator interface is not implemented, while docs says it is #25

Open
weirdan opened this issue Sep 1, 2015 · 0 comments

Comments

@weirdan
Copy link

weirdan commented Sep 1, 2015

Documentation at http://us2.php.net/manual/en/class.judy.php says:

The Judy class implements the ArrayAccess interface and the Iterator interface

but in fact Iterator interface is not supported:

❯ php --re Judy | grep -i Extension
Extension [ extension #50 judy version 1.0.2 ] {
❯ php --rc Judy | grep Class
Class [ internal:judy class Judy implements ArrayAccess, Countable ] {

This does matter for type hints, e.g. LimitIterator from SPL does not accept a Judy instance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant