4.2.23. Remove The Attribute¶
Remove attributes from all supporting structures.
Attributes are located on functions, classes, class constants, properties, methods and arguments.
4.2.23.1. Before¶
<?php
#[Attribute]
function foo(#[AttributeArgument] $arg) {
}
?>
4.2.23.2. After¶
<?php
function foo($arg) {
}
?>
4.2.23.3. Specs¶
Short Name |
Attributes/RemoveAttribute |
Exakat version |
2.3.0 |
Available in |