On 29 June 2017 at 05:20, Marco Pivetta <ocram...@gmail.com> wrote: > References to properties ...is effectively a BC break for anything > using reflection and closure scope binding
No it's not. If that feature was brought into PHP, any code that is currently valid, that the library is capable of reflecting, would still be valid code, that the library would still be capable of reflecting. Yes, there would be some new syntax which the library wouldn't be aware of, which wouldn't be supported in the library, but that is not a BC break. Adding new syntax to a language does mean that people who have libraries that inspect code based on the current syntax would need to choose between: * Updating the library to support the new syntax, or asking for a PR for that. * Saying that the library can inspect code up to the version before the new syntax was introduced, but doesn't support later code. I can see that would be annoying for the authors of those libraries, as they would obviously prefer to not have to make that choice, but it isn't a BC break. > *snip - lots of difficult to solve technical problems* > > This is the exact same set of problems we had with the typed properties > RFC, and which caused the RFC to fail: please take all these in > consideration while designing the feature. Yup. I think any discussion without at least some kind of plan for dealing with the technical problems for implementing this isn't likely to be productive. cheers Dan -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php