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

2024-11-25 Thread aggelos bellos
Hello everyone, In this issue #16761 it was verified that in the above code it should throw a notice for both yields: ``` https://github.com/php/php-src/pull/16882> which adds the "missing" notice but we aren't sure on how to continue on this. There

[PHP-DEV] [RFC] Static property asymmetric visibility

2024-11-25 Thread Larry Garfield
Static property asymmetric visibility was left out of the original RFC, because it seemed like it would be hard and of little use. Turns out, Ilija found a way to make it easy. (Ilija is smart.) So here's a small RFC to add aviz to static properties, because we can't think of a reason to NOT