[php-src] Issue #9967: Support 8.0 attributes in extension stubs
| From: | tillkruss | Date: | Thu, 17 Nov 2022 17:36:58 +0000 |
| Subject: | [php-src] Issue #9967: Support 8.0 attributes in extension stubs | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-242844@lists.php.net to get a copy of this message | ||
Issue: https://github.com/php/php-src/issues/9967
Author: tillkruss
### Description
Hello!
We'd like to use 8.0 attributes in generated arginfo files for our extensions.
it seems that
#[\SensitiveParameter] is supported, but that's about not:
```php
namespace MyExtension {
class Foobar {
#[\MyExtension\FooAttribute]
public function getBaz() {
//
}
}
class FooAttribute { }
}
```