~/talk

Attributes in PHP 8: Metadata in the Language, Not in Docblocks

Talkat International PHP Conference Berlin 2026 · 2026-06-08..06-12· [php]
slides:none on file

PHP 8 adds real metadata via attributes (expanded in 8.1) that replace docblocks with machine‑readable classes, accessed through reflection APIs like getAttributes and instantiated via reflectionAttribute->newInstance; core and extension attributes (for example SensitiveParameter, AllowDynamicProperties, Override) change runtime behavior, Doctrine and Symfony already map ORM and routing to attributes, and a composer attribute collector plugin solves scanning limits; the feature lands after seven RFCs and a decade of work and ships viable, in‑use tooling.

AI-written summary · about

~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.