Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:111218 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 71223 invoked from network); 28 Jul 2020 15:51:22 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 28 Jul 2020 15:51:22 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id EEBA8180088 for ; Tue, 28 Jul 2020 07:47:18 -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=-0.0 required=5.0 tests=BAYES_20,DKIM_SIGNED, DKIM_VALID,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2, SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.2 X-Spam-Virus: No X-Envelope-From: Received: from mail-io1-f43.google.com (mail-io1-f43.google.com [209.85.166.43]) (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 ; Tue, 28 Jul 2020 07:47:18 -0700 (PDT) Received: by mail-io1-f43.google.com with SMTP id t15so12075356iob.3 for ; Tue, 28 Jul 2020 07:47:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=joeferguson-me.20150623.gappssmtp.com; s=20150623; h=mime-version:from:date:message-id:subject:to; bh=UdNygrEFVMjAV2cnn7oZ8B2fM4/If3LjdVHIo1CSooY=; b=NFTWWY5Oa6P+aQOgk5BtUoY4zWjplYdqaQEp/xegCurCQL2+VyD2LWJA9neu/T4KgF G7Ax0OHGKSq5OWirwvHyMb0hhosTP6+ZTXTyTHyrZwRBcUn+NhhNlgIJbIjiV5JlG2j2 ED3NJgWeOxkYSgpAhWc25JUFGr4n/q3rucaAyUpDJNRmErLftjJjBNFyGuOU1r3kbDec WRKZ/yTAKUwTTeUxuLVp5LceIg/j09ma492o3LroKw6d4P3P/HA76QJ7lfDd2XMgFgQe 7jgMr48KYXFZblngsuXueN444hzQggVn+kf9dPTrV3lM9gZP/ulTeR3C5w7+pjnqMtiI Lzfg== 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=UdNygrEFVMjAV2cnn7oZ8B2fM4/If3LjdVHIo1CSooY=; b=LNb6wK2tdPmwIcD47GEg08Oedc/FQH2pEk9RjL8YrMZCQYLl8VCi5caH307AfBBZ8w m3IRmDlFOitoxVFl28d228cKXYMwP0EFeSMp7gBjswZ/YDrE/SBcVAGJ2LbjQC11MNnM zq4fvtOefQRhXHGJ4MWGsFdU47NSqilKUvV1m8xGuSonzQTKaEB8aEIUQogXfdhC5wSr EP4i3rPBF5+hyZ1/Z6MgLLMO2x+gTaMD+Q7LqU5BVPCZPM1F7a0EwAfulb7AjbyLtmjY hJprQDo0nfBPnU5xsiZXPUNvtuKpo6qcT25A9U60QlD0aOHC++2v6uB9o/O9QrKO7D1e XauQ== X-Gm-Message-State: AOAM53221udtP3sIJ5fXvLC6d8IYoqJy4nzchQXODVRRvpJr+/zmVXiv 63avKqBb8AHTsrjV8xCkEOY3a61HQPtDwdB+9ZvY/mTCaP/GLA== X-Google-Smtp-Source: ABdhPJxaGgh9s9YprBKqPa4P5LeYklfrz/2M4RJpd2w8Eq33USpKF8t1CAujihu7CzR0t09fZkRN6GBylKcSTZsSiJI= X-Received: by 2002:a6b:6511:: with SMTP id z17mr28445926iob.104.1595947636366; Tue, 28 Jul 2020 07:47:16 -0700 (PDT) MIME-Version: 1.0 Date: Tue, 28 Jul 2020 09:46:38 -0500 Message-ID: To: PHP Developers Mailing List Content-Type: multipart/alternative; boundary="000000000000f23c2305ab818342" Subject: [RFC] [Discussion] Shorter Attribute Syntax Change From: joe@joeferguson.me (Joe Ferguson) --000000000000f23c2305ab818342 Content-Type: text/plain; charset="UTF-8" Hello Internals, I've been working with Derick Rethans and others (thanks all!) on a Shorter Attribute Syntax Change RFC which outlines reasons why the "#[]" syntax would be preferred over the currently agreed upon "@@" syntax for Shorter Attribute Syntax. An important part of the research that went into this proposal demonstrates how "@@" will make handling attributes more difficult for PHP_CodeSniffer (and similar tools) and shows how the alternative "#[]" syntax is more friendly for these tools. You can find the RFC https://wiki.php.net/rfc/shorter_attribute_syntax_change and I'm happy to answer any questions as best I can. -- - Joe Ferguson JoeFerguson.me osmihelp.org --000000000000f23c2305ab818342--