Re: [PHP-DEV] Needs Feedback - Yield without value in reference generator function does not create notice

2024-11-27 Thread aggelos bellos
> > > A notice would be consistent with what happens with: `function &f() { > return; }; f();`. But don’t add new notices in patch releases, otherwise > you may break without warning a non-trivial amount of code that conflates > notices with fatal errors. The bug is not serious enough to warrant su

[PHP-DEV] Needs Feedback - Yield without value in reference generator function does not create notice

2024-11-25 Thread aggelos bellos
continue on this. There are 2 main questions: 1. Should we continue with adding the missing notice and merge it also in master? 2. Should we deprecate / remove the usage of yield without value in reference generator functions? - Aggelos Bellos