Where do I submit a feature request?
[email protected] (B w)
| Newsgroups | php.general |
|---|---|
| Message-ID | <AM0PR03MB4835927E1E57BA49283C5C929DA89@AM0PR03MB4835.eurprd03.prod.outlook.com> |
Hi there, I was wondering if there was any place to submit a feature request? I have been looking around but I couldnt find any spot to do so. I have no knowledge of C so a direct PR won’t be an option. The feature request is straightforward: implement a syntax so a parent class can retrieve the directory of the child class, .e.g. `static::__DIR__` or similar syntax. Currently, when using __DIR__ in a parent class, it will always refer to the parent class itself. The only way to get the child class directory is to use reflection like `dirname((new ReflectionClass(static::class))->getFileName())`. Kind regards, F