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

Enumerable::getIterator fails silently #53

Closed
oojacoboo opened this issue Dec 25, 2020 · 2 comments
Closed

Enumerable::getIterator fails silently #53

oojacoboo opened this issue Dec 25, 2020 · 2 comments

Comments

@oojacoboo
Copy link

For some reason, when calling toArray, which called getIterator, the script is failing silently. I've confirmed the array being passed to from is okay. It is a fairly deeply nested array with many objects.

I guess the real question here is... what's preventing exceptions?

@oojacoboo
Copy link
Author

I'm going to close this because I'm not absolutely certain how the error was getting stomped out. Although, there was a method not found issue within the callback for the iterator.

@Athari
Copy link
Owner

Athari commented Dec 25, 2020

If you can create a minimum example that reproduces the problem, it would be great.

Please note that if you're using new PHP, you'll face #25. I'm terribly sorry about the state of the issue. At the moment you can comment out the line with create_function if it's causing issues.

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

No branches or pull requests

2 participants