Re: [RFC] [Discussion] #[\DelayedTargetValidation] attribute
| From: | Daniel Scherzer | Date: | Wed, 18 Jun 2025 13:19:13 +0000 |
| Subject: | Re: [RFC] [Discussion] #[\DelayedTargetValidation] attribute | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-127710@lists.php.net to get a copy of this message | ||
On Wed, Jun 18, 2025 at 5:22 AM Volker Dusch <volker@tideways-gmbh.com>
wrote:
> On Wed, Jun 18, 2025 at 1:28 AM Daniel Scherzer <
> daniel.e.scherzer@gmail.com> wrote:
>
>> I'd like to start the discussion for a new RFC about adding a
>>
#[\DelayedTargetValidation] attribute.
>>
>> * RFC:
>> https://wiki.php.net/rfc/delayedtargetvalidation_attribute
>> * Implementation: https://github.com/php/php-src/pull/18817
>>
>
> Hi Daniel,
>
> One note on the example code:
>
> class Base {
> class Child extends Parent { \
>
> Parent isn't a valid class name, and I think you wanted to extend from
> Base here? I'd prefer the example to compile so that they can be used for
> documentation later on where possible.
>
> Kind Regards,
> Volker
>
>
Fixed, thanks.