UPGRADING: document #[\Attribute] validation from GH-19154

[skip ci]
This commit is contained in:
Daniel Scherzer 2025-08-11 09:17:06 -07:00 committed by GitHub
parent c416191a00
commit 6280dfc025
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -50,6 +50,9 @@ PHP 8.5 UPGRADE NOTES
immediately, without calling user-defined error handlers.
. Exceptions thrown by user-defined error handlers when handling class linking
errors are not promoted to fatal errors anymore and do not prevent linking.
. Applying #[\Attribute] to an abstract class, enum, interface, or trait triggers
an error during compilation. Previously, the attribute could be added, but when
ReflectionAttribute::newInstance() was called an error would be thrown.
- DOM:
. Cloning a DOMNamedNodeMap, DOMNodeList, Dom\NamedNodeMap, Dom\NodeList,