[doc-en] master: Clarify ReflectionAttribute::IS_INSTANCEOF description (#5969)

From: Date: Mon, 19 Oct 2026 14:42:35 +0000
Subject: [doc-en] master: Clarify ReflectionAttribute::IS_INSTANCEOF description (#5969)
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-23862@lists.php.net to get a copy of this message
Author: qodelicious (qodelicious) Committer: GitHub (web-flow) Pusher: lacatoire Date: 2026-10-19T16:42:32+02:00 Commit: https://github.com/php/doc-en/commit/a330e2e2d30b14662ead3c060b31101934097bb2 Raw diff: https://github.com/php/doc-en/commit/a330e2e2d30b14662ead3c060b31101934097bb2.diff Clarify ReflectionAttribute::IS_INSTANCEOF description (#5969) Changed paths: M reference/reflection/reflectionattribute.xml Diff: diff --git a/reference/reflection/reflectionattribute.xml b/reference/reflection/reflectionattribute.xml index 95790fd5fd17..f938d74fd9f7 100644 --- a/reference/reflection/reflectionattribute.xml +++ b/reference/reflection/reflectionattribute.xml @@ -81,10 +81,16 @@ <type>int</type> </term> <listitem> - <para> + <simpara> Retrieve attributes using an <parameter>instanceof</parameter> check. - </para> + Used as the <parameter>flags</parameter> argument of + <methodname>ReflectionClass::getAttributes</methodname> and the + equivalent methods of the other reflection classes. When set, the + <parameter>name</parameter> argument matches attributes whose class is + the given class or a subclass of it, or implements the given + interface, instead of only matching the exact class name. + </simpara> </listitem> </varlistentry>

« previous php.doc.cvs (#23862) next »