Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:127710 X-Original-To: internals@lists.php.net Delivered-To: internals@lists.php.net Received: from php-smtp4.php.net (php-smtp4.php.net [45.112.84.5]) by lists.php.net (Postfix) with ESMTPS id 7F6101A00BC for ; Wed, 18 Jun 2025 13:19:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1750252671; bh=Acr6Hlfu9HaPtCqZO9g2GXm3RZKVsxe16XZqTA9kq3w=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=nknDdAJuMXpPK8oQWpNgQHW85SYbuUb3+WJEi+0BpbY2fSxSQ56kTbAN63A0p2LRL LnBwtKGY3W1LliRFjB+vpWw53ftO6AJondbkn0L1iCE9vOYp96HApkjiy0rLWrAkZq ZSH+WTw/3tov5yBYP/ap1FcWEqj0mC5qJWiotIFf9/N2Gb7XEQY+9i0Qvmo0FJD5N5 Z6mIRsWLlyAeMFBKQYaFwL2op5eqENjSNbATElSZ3hPUIrEkDsHKHVZS2olizRk2WN W2kKNsCmlYTddPqAvyDhhY6NAebOraGPX9qAQVHZsTiscQ8N+aauhNZCsPVf880feC JTAfb8Fy64ofQ== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 65D58180042 for ; Wed, 18 Jun 2025 13:17:50 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-25) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=-3.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,DMARC_PASS,FREEMAIL_FROM, HTML_MESSAGE,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE, SPF_PASS autolearn=no autolearn_force=no version=4.0.1 X-Spam-Virus: Error (Cannot connect to unix socket '/var/run/clamav/clamd.ctl': connect: Connection refused) X-Envelope-From: Received: from mail-yb1-f178.google.com (mail-yb1-f178.google.com [209.85.219.178]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Wed, 18 Jun 2025 13:17:50 +0000 (UTC) Received: by mail-yb1-f178.google.com with SMTP id 3f1490d57ef6-e81826d5b72so6736391276.3 for ; Wed, 18 Jun 2025 06:19:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1750252788; x=1750857588; darn=lists.php.net; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=Acr6Hlfu9HaPtCqZO9g2GXm3RZKVsxe16XZqTA9kq3w=; b=bNYTYP/XpbiyUCnyYzpVD7vJcjNd4NgegqKiVa/9lJBt/TaJStwELHfX+T6ouYudnf CtRRegwGGkKwrLHMaJz09nBy4btCooYSSNobNqKLPBg1tPtKH/oZLG/LIFBQmtINwTIB 0WffZ6hbddwFzuZEG3P469RT+sMaxv8q3SaX4hrSZpcjvCzVtejzujr2o5Y10gjB/sxz AADq0babw+9mj5K9TO4GlSUwD7b70RzCZw6XW+vdj6xHNlZii2uM+QQxD3IqeClhvLMP FAqN/xs7ReIQMVhgn86XXRZ9NoZRApiwWQZe+ISiYMJ3wHM2OOj2eO8KK8csJRxAnF53 27GQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1750252788; x=1750857588; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=Acr6Hlfu9HaPtCqZO9g2GXm3RZKVsxe16XZqTA9kq3w=; b=fNV1TV6DD6zedz4WXJ+/fVSRKlXcoTMdRedRPqxJkPyb3uKTc2pWKId6Cwrg6KUB8s V0AaZTCgkbkXinx40PWz3vStuiSZNr0CPNZtASJMlPBfuD2oc0XiaSWvom4X/fkV/kwn SFMBDCQCw80MXr3wWucram5o7/rWU+2iiiZ7HHO7xKWFJjKwBTumHSYk82SvQS781c9q UXZR+RTleydvO4dJCypGzeke33yxVf+BsdrH47b13/Lq2CKTYUL0097w2UmAdee9KH2A DJlstXQ3lU3fkuhs0ZflnXVy8n9x/rErQ14wlhRwWRaPO9aC2qt/S4tcxj5DJ/Vjwahk 8G/Q== X-Gm-Message-State: AOJu0YzXL86qisQtgUjWvEYTuP1Pm2Rk8t9mKfOxwCBzg0J17yawhHOe 6HhPNeo09/VeEtOckjD3IIlYWa98RDT//2ykuXVQffUK+awQ2vwx2E10QKBuEXr/GZgXmMGdDHN V8jy+QW3/9gLASUuYv+YQoe2oYjpspUxemg== X-Gm-Gg: ASbGncteLJ/2m4TPnYmY38GDIEisnDCfyMazbyiROn65ENsQpP1aI4Tkq30QYMREPWX lIAMuQVQcvr4bz+3Kn4j4wngwiJ5TvwJBqlfRz2FRgtwp8dtwoUX+5Qrq56Om3lEepc2l47DAi8 W5oyHKrT7k7chAazLMf2CGoOD6p7vf9c+xpl5X7xugTtfHgczruQrxFlLhkNq6M9gcQq9+uAcIL es= X-Google-Smtp-Source: AGHT+IE2quOYq8849O26cUdIpmnmRh7HC1wPjtpfEsTiwh7mmCmf0THh+Yhi0fJF7xmUPRqvoK+k+dbQIFwAc3kJeho= X-Received: by 2002:a05:6902:2e0a:b0:e7d:ce24:636e with SMTP id 3f1490d57ef6-e822ac77c3dmr23530774276.31.1750252787681; Wed, 18 Jun 2025 06:19:47 -0700 (PDT) Precedence: bulk list-help: list-post: List-Id: internals.lists.php.net x-ms-reactions: disallow MIME-Version: 1.0 References: In-Reply-To: Date: Wed, 18 Jun 2025 06:19:13 -0700 X-Gm-Features: AX0GCFtnzcCsEXuuqDq57E6a-DgRk3wAC4x4_D76En238pXsibEhDDDH-vEVlxA Message-ID: Subject: Re: [PHP-DEV] [RFC] [Discussion] #[\DelayedTargetValidation] attribute To: Volker Dusch Cc: php internals Content-Type: multipart/alternative; boundary="000000000000ad4bea0637d87b22" From: daniel.e.scherzer@gmail.com (Daniel Scherzer) --000000000000ad4bea0637d87b22 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Wed, Jun 18, 2025 at 5:22=E2=80=AFAM Volker Dusch wrote: > On Wed, Jun 18, 2025 at 1:28=E2=80=AFAM 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. --000000000000ad4bea0637d87b22 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Wed, Jun 18, 2025 at 5:22=E2=80=AFAM V= olker Dusch <volker@tideways= -gmbh.com> wrote:
On Wed, Jun 18, 2025 at 1:28=E2=80=AFAM Daniel Scherzer <daniel.e.sch= erzer@gmail.com> wrote:
I'd like to= start the discussion for a new RFC about adding a `#[\DelayedTargetValidat= ion]` attribute.


Hi Daniel,
<= br>
One note on the example code:

`class= Base {`=C2=A0
`class Child extends Parent {` \

Parent isn't a valid class name, and I think you wanted to exte= nd from Base here? I'd prefer the example to compile so that they can b= e used for documentation later on where possible.

= Kind Regards,
Volker

=

Fixed, thanks.=C2=A0
--000000000000ad4bea0637d87b22--