note 130301 added to language.attributes.overview

From: Date: Thu, 22 May 2025 01:22:14 +0000
Subject: note 130301 added to language.attributes.overview
Groups: php.notes 
Request: Send a blank email to php-notes+get-222150@lists.php.net to get a copy of this message
Attributes are classes, and if you are in a namespace, remember to fully qualify the namespace in the attribute or add a use statement. ``` namespace MyProject; /* This will not work */ #[AllowDynamicProperties] /* This will work */ #[\AllowDynamicProperties] ``` ---- Server IP: 45.112.84.4 Probable Submitter: 45.112.84.18 (proxied: 173.209.172.152) ---- Manual Page -- https://php.net/manual/en/language.attributes.overview.php Edit -- https://main.php.net/note/edit/130301 Del: integrated -- https://main.php.net/note/delete/130301/integrated Del: useless -- https://main.php.net/note/delete/130301/useless Del: bad code -- https://main.php.net/note/delete/130301/bad+code Del: spam -- https://main.php.net/note/delete/130301/spam Del: non-english -- https://main.php.net/note/delete/130301/non-english Del: in docs -- https://main.php.net/note/delete/130301/in+docs Del: other reasons-- https://main.php.net/note/delete/130301 Reject -- https://main.php.net/note/reject/130301 Search -- https://main.php.net/manage/user-notes.php

« previous php.notes (#222150) next »