Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:110367 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 9396 invoked from network); 4 Jun 2020 13:12:56 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 4 Jun 2020 13:12:56 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 619A31804C2 for ; Thu, 4 Jun 2020 04:55:20 -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,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS 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-wr1-f41.google.com (mail-wr1-f41.google.com [209.85.221.41]) (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 ; Thu, 4 Jun 2020 04:55:19 -0700 (PDT) Received: by mail-wr1-f41.google.com with SMTP id x14so5787723wrp.2 for ; Thu, 04 Jun 2020 04:55:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=seld-be.20150623.gappssmtp.com; s=20150623; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding:content-language; bh=hX8bFGLeIBes1mK4A8snCHQm6b73yJqWRkL3Spc2ybA=; b=qQkOpD6kmlFolsm0CcJHIpoeUtfS86BzRvdrzZluytkxYdCNRBAl/xUkixzrdDdNia f2Szel8RJEcfHJbMoo20oxyS4F/pr/JDwLCDb2dXbah0VBb7C1BaY/k2AGAz7a3OthRt By70f4X8vOCZpUF1RdIKxVFLfXPibV3gM004YMQeBRPZtE6HTtu8xpRqst7/hpuO4Cfn NlwEuMUTG74WEDEbUg7eeuj9dbx34VZp/00Se8o2GkBgmhccOjRSlB9Dkk4joRmbYwmx D0L4av5c4ZiyiZhE9yeiwogaRkcCYHdKX4QDDa+OoJ90lV2DqX4z6RFACxOSP5GHrbie QlaQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=hX8bFGLeIBes1mK4A8snCHQm6b73yJqWRkL3Spc2ybA=; b=ucGmZkJ0D38grGivXAuK4ZYrA5YYnNnAUrPDNfkB6vb4unGezHN3oc2YTss2CYAXyE ylijgMkGh7rjRJyW0y2ifF4P/Qbih2csShZ3unjUwpNjpyDkYMxpyMThxvLt/zdSsbXo icq6K7+BFsmzES6lrSO8EVLengbLqwzj8dPNLFEnZ7LyA85TekYVwtXXzZ19n1/dgZdd iWqJWX2ws0LxnuAhwhRoM3yKNIcKrRbFgvh+/KSo+IbqvyVbRV7e3cr1Zi8xQdt+ORR6 M8V2n6sh+bkh8iy19bk8/BpeddNbs/y3aQFpG0DKZk2z5W/W7Dy7FIAXs0vopUrNP/AR wMwQ== X-Gm-Message-State: AOAM533BCREhbMMRnOcJtfawgKBuvedRV2cHD0GpjpBUtu9nBdsJpS1W 2uxFShK2WmqKkeCSydz/DU67D+pPdJdBAA== X-Google-Smtp-Source: ABdhPJyQ++bwvY7nbNho+/yG8MpvP+H1zBo4YfZKuH2laUDLxG6gx/gb1Vj/ZyLG4XjAGNlTWZA+sg== X-Received: by 2002:a5d:440c:: with SMTP id z12mr4206681wrq.241.1591271718017; Thu, 04 Jun 2020 04:55:18 -0700 (PDT) Received: from ?IPv6:2a02:168:4b6e:0:ed7e:2610:a2c1:1b50? ([2a02:168:4b6e:0:ed7e:2610:a2c1:1b50]) by smtp.gmail.com with ESMTPSA id l17sm6601296wmi.3.2020.06.04.04.55.17 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 04 Jun 2020 04:55:17 -0700 (PDT) To: internals@lists.php.net References: Message-ID: <203ca48a-cd68-7ed4-986d-cf9c66274fbc@seld.be> Date: Thu, 4 Jun 2020 13:55:16 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.9.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US Subject: Re: [PHP-DEV] [RFC] Shorter attribute syntax From: j.boggiano@seld.be (Jordi Boggiano) Hey, On 04/06/2020 01:54, Theodore Brown wrote: > I discussed the syntax for attributes further with Benjamin, Martin, > and several other internals developers off-list, and with their > feedback completed an RFC proposing to use the shorter `@@` syntax > instead of `<<>>` for attributes in PHP 8. > > https://wiki.php.net/rfc/shorter_attribute_syntax Thanks for the write-up. I didn't feel strongly either way before but after reading the RFC I am hoping it passes. Another fringe benefit is the ability to grep for attributes, @@ does not occur anywhere in a couple projects I checked, while << does occur both as the << operator and heredocs/nowdocs. My fellow grumpy-old-non-IDE-users might find this a valid argument too :) Best, Jordi -- Jordi Boggiano @seldaek - https://seld.be