Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:110217 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 79471 invoked from network); 20 May 2020 18:29:24 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 20 May 2020 18:29:24 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 47A1E1804C2 for ; Wed, 20 May 2020 10:08:07 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2, SPF_HELO_NONE,SPF_NONE autolearn=no autolearn_force=no version=3.4.2 X-Spam-ASN: AS15169 209.85.128.0/17 X-Spam-Virus: No X-Envelope-From: Received: from mail-wm1-f53.google.com (mail-wm1-f53.google.com [209.85.128.53]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Wed, 20 May 2020 10:08:04 -0700 (PDT) Received: by mail-wm1-f53.google.com with SMTP id z4so3205447wmi.2 for ; Wed, 20 May 2020 10:08:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=beberlei-de.20150623.gappssmtp.com; s=20150623; h=mime-version:from:date:message-id:subject:to; bh=oI+ASnVm0QN14iY/JOQ8YMR4GRT5ClXflr4UV7zu+RQ=; b=JTvQnlFvn8Y7Skzeg8tJzfMFe6sd4bMLPvSwMs+4URhMqaG1E8e0Oblv76J1WXCr4h fF9YIKc1OOiUrTNsyYlPrizkkp1kFwZmnNdwTDED9vHImoa/T3KkhSRlRWN7TO7+KTKh nT9qgNDvNtTLHcin2haUki5EF2OA5GDT9GsMUS1RM2biqfq0ZgKevNEMhIkbKtEOtim7 YZnuXbNHW+XcGuwNZuA/TExIKURbgWS92u8fANz5AViR2P7RjgbF0nxHaIDp/2CUcvWY CNNwwUQEDsx88GQxT/C4szhjV6oj3Vb2JkfbyT/VU80RsGPWOueyrSXW47CuPQSTSzDF cj0w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=oI+ASnVm0QN14iY/JOQ8YMR4GRT5ClXflr4UV7zu+RQ=; b=KQqTZcWWkjFeG2hSLVpwvEKhJ0+Rp/Af901G7OaFGEErVxNTt0hT02xLweXi7He6l0 rooyjY7NF6Rlbg81GiDMee4ofZctWNS+ELlXpXx/giTRbAn0Bx5w7y3kr49jkh1KccXO Kk+9HvV4aetTfZN1mEfVjRzSFiHHUwXNNSZOLRrpcecvlxW0eY6P5KGkwW5zZVXFfwIf ZFCFilqyHjr/iwwY9cwJKm2j6HmUzj0E5voIkZBGSrIeaYLQ5iKYrM6nmy4j3qjMINLB eeazdJMOoUOG/ZTwg7qFdWMoSqnC+/roGdkFxwa05SE8mNjL4050KA5kQ2QTlm38aamP /fsA== X-Gm-Message-State: AOAM532hFJkNovAEDp+GZtwEPfYUEIlXyr3NMsuUnIGKp8SMriL2iZ33 uHckpUrXadF5wL/0ExmLVII0Bq61NmIj9Fgi6KafSsE+mSqPJQ== X-Google-Smtp-Source: ABdhPJwlcC0PrgoFcJP26R1PixLv5b0idzEW6QV/mOretcgY1Demrw22dZbjukiOn2BSrgSJvWOsOLPz1ybyXzTu+Nc= X-Received: by 2002:a7b:cfc9:: with SMTP id f9mr5372453wmm.107.1589994482396; Wed, 20 May 2020 10:08:02 -0700 (PDT) MIME-Version: 1.0 Date: Wed, 20 May 2020 19:07:51 +0200 Message-ID: To: PHP Internals Content-Type: multipart/alternative; boundary="00000000000051862205a61770d5" Subject: [RFC] Amendments to Attributes From: kontakt@beberlei.de (Benjamin Eberlei) --00000000000051862205a61770d5 Content-Type: text/plain; charset="UTF-8" Hi everyone, the Attributes RFC was rather large already, so a few things were left open or discussions during the vote have made us rethink a things. https://wiki.php.net/rfc/attribute_amendments These points are handled by the Amendments RFC to Attributes: 1. Proposing to add a grouped syntax < 2. Rename PhpAttribute to Attribute in global namespace (independent of the namespace RFC) 3. Add validation of attribute class targets, which internal attributes can do, but userland can't 4. Specification if an attribute is repeatable or not on the same declaration and fail otherwise. Each of them is a rather small issue, so I hope its ok to aggregate all four of them in a single RFC. Please let me know if it's not. greetings Benjamin --00000000000051862205a61770d5--