unread
Hey Vilius,
My suggestions would be to create something similar for class
properties f.e.
*MyClass::properties::name *could return "name" or some built-in meta
data object of that property containing more information(type,
nullable, public/private etc.).
...
Let me know what you think. I could spend some time defining more
specific documentation of how I would solve it, maybe write and RFC.
My first idea was to write you, maybe there is similar ideas already
reached you.
Maybe you want to check out
https://news-web.php.net/php.internals/120256 -- it's been discussed
under this proposal, and likely has some helpful context.
Cheers
Nick