Re: Fwd: PHP feature suggestion (static property data access)
| From: | Nick Sdot | Date: | Mon, 14 Sep 2026 06:52:03 +0000 |
| Subject: | Re: Fwd: PHP feature suggestion (static property data access) | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-132493@lists.php.net to get a copy of this message | ||
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