I have been experimenting with generators in my PHP project, and I must say, they are quite fascinating! However, I couldn't find any specific information regarding the limitations of generators in terms of the number of values they can handle or the number of iterations they can go through.
I am wondering if there is any predefined limit on the number of values that a generator can produce or the number of times it can iterate over a loop. Are there any performance issues or memory constraints to be aware of when using generators in PHP?
I appreciate any insights or experiences you can share regarding the limitations of generators. Thanks!