delayedtargetvalidation¶
The DelayedTargetValidation attribute is meant to make other PHP engine attributes optional. It will shut down complains from the PHP engine for attributes, allowing for future compatibility.
<?php
class Child extends Base {
#[\DelayedTargetValidation]
#[\Override]
const NAME ='Child';
}
?>
See also #[DelayedTargetValidation] Attribute Explained and PHP RFC: #[DelayedTargetValidation] attribute.
Related : Attribute, PHP Native Attributes, Forward Compatible, PHP Native Attribute