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

remove recursion from NodePathIterator::isValid() #251

Open
lsmith77 opened this issue Oct 26, 2014 · 0 comments
Open

remove recursion from NodePathIterator::isValid() #251

lsmith77 opened this issue Oct 26, 2014 · 0 comments

Comments

@lsmith77
Copy link
Member

this can have nasty side effects when dealing with larger result sets

Fatal error: Maximum function nesting level of '200' reached, aborting! in /Users/lsmith/htdocs/phpcr_benchmark/vendor/jackalope/jackalope/src/Jackalope/NodePathIterator.php on line 100

Call Stack:
    0.0004     278888   1. {main}() /Users/lsmith/htdocs/phpcr_benchmark/index.php:0
   10.2733   25832696   2. Jackalope\NodePathIterator->valid() /Users/lsmith/htdocs/phpcr_benchmark/index.php:34
   10.2778   25759864   3. Jackalope\NodePathIterator->valid() /Users/lsmith/htdocs/phpcr_benchmark/vendor/jackalope/jackalope/src/Jackalope/NodePathIterator.php:107
   10.2778   25759864   4. Jackalope\NodePathIterator->valid() /Users/lsmith/htdocs/phpcr_benchmark/vendor/jackalope/jackalope/src/Jackalope/NodePathIterator.php:107
   10.2778   25759864   5. Jackalope\NodePathIterator->valid() /Users/lsmith/htdocs/phpcr_benchmark/vendor/jackalope/jackalope/src/Jackalope/NodePathIterator.php:107
...
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

1 participant