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

Fixed bug #55701: GlobIterator throws LogicException #1880

Closed
wants to merge 1 commit into from

Conversation

2 participants
@axiac
Copy link
Contributor

commented Apr 21, 2016

GlobIterator throws LogicException with message 'The parent constructor was not called' when the glob expression passed to the constructor doesn't match any file.

Fixed bug #55701: GlobIterator throws LogicException
GlobIterator throws LogicException with message 'The parent constructor was not called'
on its first operation when the glob expression doesn't match any file.
It also throws on the first operation after the iteration completes, when the glob expression
matches some files.
@php-pulls

This comment has been minimized.

Copy link

commented Jul 5, 2016

Comment on behalf of cmb at php.net:

Cherry-picked to PHP-5.6 and merged upwards.

Thanks for the PR that solves a long standing issue, Valentin, and for the comprehensive and elegant regression test.

@php-pulls php-pulls closed this Jul 5, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.