[php-src] Issue #12139: Static anonymous functions as default property value
| From: | mvorisek | Date: | Wed, 06 Sep 2023 11:13:46 +0000 |
| Subject: | [php-src] Issue #12139: Static anonymous functions as default property value | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-245345@lists.php.net to get a copy of this message | ||
Issue: https://github.com/php/php-src/issues/12139
Author: mvorisek
### Description
repro: https://3v4l.org/q070H
static anonymous functions are "static/non-instance dependent objects", so they should be
supported in constant expression contexts
this is a feature request to add the support