Re: [PHP-DEV] Fwd: PHP feature suggestion (static property data access)
[email protected] (Nick Sdot)
| Newsgroups | php.internals |
|---|---|
| Message-ID | <[email protected]> |
Hey Vilius, On 14.09.26 14:03, Vilius Buividavicius wrote: > 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