[php-src] Issue #13954: Abstract constant support
| From: | mvorisek | Date: | Sat, 13 Apr 2024 00:11:20 +0000 |
| Subject: | [php-src] Issue #13954: Abstract constant support | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-246754@lists.php.net to get a copy of this message | ||
Issue: https://github.com/php/php-src/issues/13954
Author: mvorisek
### Description
repro:
```
<?php
abstract class Cl {
abstract const FOO;
}
```
https://3v4l.org/q9og4
This is a feature request to make abstract constant supported.
The expected behaviour is the same as now but
static::FOO should return
FOO declared in child class.