Closed TysonAndre closed 3 years ago
This is really cool, thanks @TysonAndre! I asked Sjön to add to add a branch to https://3v4l.org. He briefly added it but for some reason it vanished. This seems to serve the same purpose. @Crell IMO it would be pretty nice to share this on the ML so people can play around and see if they discover anything that might be surprising to them.
We shared it in the ML. Thanks again!
This may help in answering questions reviewers may have about the implementation, or in clarifying answers/misconceptions - https://tysonandre.github.io/php-rfc-demo/enums/
(the enums rfc has a lot of functionality, and actually being able to run it (without the obstacle of needing to fetch it and compile it from source) may help reviewers understand it or discover edge cases.)
This was an idea I had for a while for my own RFCs; You're the ones working on that RFC and no RFCs I remember even include a demo, so feel free to just not use it or fork it with better examples.
Feel free to close this; this seemed like a better place to post it than current discussion on the php-src PR or mailing list