(PHP 8)
Attributes offer the hability to add structured, machine-readable metadata information on declarations in code: Classes, methods, functions, parameters, properties and class constans can be the targuet of an attribute. The metadata defined by attributes can then be inspected at runtime using the Reflection APIs . Attributes could therefore be thought of as a configuration languague embedded directly into code.